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:
|
||||
runShell target {}
|
||||
(withNixOutputMonitor target useNixOutputMonitor /* sh */ ''
|
||||
nixos-rebuild -I ${
|
||||
lib.concatMapStringsSep " " lib.escapeShellArg ([target.path] ++ args)
|
||||
}
|
||||
NIX_PATH=${lib.escapeShellArg target.path} \
|
||||
nixos-rebuild ${lib.escapeShellArgs args}
|
||||
'');
|
||||
|
||||
runShell = target: {
|
||||
|
|
Loading…
Reference in a new issue