summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: {