mirror of
https://cgit.krebsco.de/krops
synced 2024-11-23 03:29:48 +01:00
rebuild: set NIX_PATH like everywhere else
This commit is contained in:
parent
e5c13343a6
commit
3ebbfc6261
1 changed files with 2 additions and 3 deletions
|
@ -10,9 +10,8 @@ in
|
||||||
args: target:
|
args: target:
|
||||||
runShell target {}
|
runShell target {}
|
||||||
(withNixOutputMonitor target useNixOutputMonitor /* sh */ ''
|
(withNixOutputMonitor target useNixOutputMonitor /* sh */ ''
|
||||||
nixos-rebuild -I ${
|
NIX_PATH=${lib.escapeShellArg target.path} \
|
||||||
lib.concatMapStringsSep " " lib.escapeShellArg ([target.path] ++ args)
|
nixos-rebuild ${lib.escapeShellArgs args}
|
||||||
}
|
|
||||||
'');
|
'');
|
||||||
|
|
||||||
runShell = target: {
|
runShell = target: {
|
||||||
|
|
Loading…
Reference in a new issue