mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
deploy: add nixos-rebuild to PATH
This commit is contained in:
parent
edc0d2fb9b
commit
7041c7a74c
1 changed files with 5 additions and 1 deletions
|
@ -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} "$@"
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue