X-Git-Url: http://git.scottworley.com/auto-upgrade-with-pinch/blobdiff_plain/b972908a3b28dc5038f716bf46075221d0845045..2b58720b22980359a9b76a615dd11b75b956574b:/modules/auto-upgrade.nix diff --git a/modules/auto-upgrade.nix b/modules/auto-upgrade.nix index cc98ad0..9ff5ee2 100644 --- a/modules/auto-upgrade.nix +++ b/modules/auto-upgrade.nix @@ -3,7 +3,7 @@ with lib; let cfg = config.system.autoUpgradeWithPinch; auto-upgrade-script = pkgs.writeShellScript "auto-upgrade" '' - flock /run/auto-upgrade-with-pinch ${ + ${pkgs.utillinux}/bin/flock /run/auto-upgrade-with-pinch ${ pkgs.writeShellScript "auto-upgrade-with-lock-held" '' set -e