diff --git a/pkgs/deploy/default.nix b/pkgs/deploy/default.nix index 77b9c89..094972b 100644 --- a/pkgs/deploy/default.nix +++ b/pkgs/deploy/default.nix @@ -1,5 +1,9 @@ -{ writeShellScriptBin, python3 }: +{ nixos-rebuild +, python3 +, writeShellScriptBin +}: writeShellScriptBin "deploy" '' + export PATH="$PATH:${nixos-rebuild}/bin" exec ${python3}/bin/python ${./deploy.py} "$@" ''