1
0
Fork 0
mirror of https://cgit.krebsco.de/krops synced 2024-12-23 02:09:51 +01:00

rebuild: set NIX_PATH like everywhere else

This commit is contained in:
tv 2022-09-07 11:56:51 +02:00
parent e5c13343a6
commit 3ebbfc6261

View file

@ -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: {