summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-09-07 11:56:51 +0200
committertv <tv@krebsco.de>2022-09-07 11:56:51 +0200
commit3ebbfc62615d4ba253a4dd96bac0f4b2128a2b6d (patch)
treeafa944fdb2810c7e7dbb94f085d7a7d1b4571756 /pkgs
parente5c13343a691361934b68ed4019bc42787b62606 (diff)
rebuild: set NIX_PATH like everywhere else
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/krops/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/krops/default.nix b/pkgs/krops/default.nix
index a0244c3..04c38cf 100644
--- a/pkgs/krops/default.nix
+++ b/pkgs/krops/default.nix
@@ -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: {