summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-12-13 09:55:09 +0100
committertv <tv@krebsco.de>2018-12-13 09:55:09 +0100
commit21a894dc6f0a304655d2a30230510c8cb0e164b2 (patch)
tree05b514cbe185a24de7a76e78706f3444af979c2b /pkgs
parent140bdfdf6c87c1822e0c4ec8f497a20ad1d4cf19 (diff)
pkgs writeTest: use NIX_PATH instead of -I
That way, nix-build won't accidentally "fallback" to stuff in the system's NIX_PATH.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/krops/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/krops/default.nix b/pkgs/krops/default.nix
index 20b1d4f..1223ff6 100644
--- a/pkgs/krops/default.nix
+++ b/pkgs/krops/default.nix
@@ -32,9 +32,9 @@ in
writeDash name ''
set -efu
${populate { inherit force source; target = target'; }}
+ NIX_PATH=${lib.escapeShellArg target'.path} \
${nix}/bin/nix-build \
-A system \
- -I ${target'.path} \
--keep-going \
--no-out-link \
--show-trace \