diff options
author | tv <tv@krebsco.de> | 2022-09-07 11:56:51 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-09-07 11:56:51 +0200 |
commit | 3ebbfc62615d4ba253a4dd96bac0f4b2128a2b6d (patch) | |
tree | afa944fdb2810c7e7dbb94f085d7a7d1b4571756 | |
parent | e5c13343a691361934b68ed4019bc42787b62606 (diff) |
rebuild: set NIX_PATH like everywhere else
-rw-r--r-- | pkgs/krops/default.nix | 5 |
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: { |