deploy: add nixos-rebuild to PATH

This commit is contained in:
Sean Buckley 2023-11-27 22:54:41 -05:00
parent edc0d2fb9b
commit 7041c7a74c

View file

@ -1,5 +1,9 @@
{ writeShellScriptBin, python3 }: { nixos-rebuild
, python3
, writeShellScriptBin
}:
writeShellScriptBin "deploy" '' writeShellScriptBin "deploy" ''
export PATH="$PATH:${nixos-rebuild}/bin"
exec ${python3}/bin/python ${./deploy.py} "$@" exec ${python3}/bin/python ${./deploy.py} "$@"
'' ''