mirror of
https://cgit.krebsco.de/krops/
synced 2025-01-08 17:27:12 +00:00
rebuild: set NIX_PATH like everywhere else
This commit is contained in:
parent
e5c13343a6
commit
3ebbfc6261
@ -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 New Issue
Block a user