1
0
Fork 0
mirror of https://cgit.krebsco.de/krops synced 2024-11-26 21:19:47 +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: 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: {