From 21a894dc6f0a304655d2a30230510c8cb0e164b2 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 13 Dec 2018 09:55:09 +0100 Subject: pkgs writeTest: use NIX_PATH instead of -I That way, nix-build won't accidentally "fallback" to stuff in the system's NIX_PATH. --- pkgs/krops/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- cgit v1.2.3