From 89ffe1eff946639aa2752177fcc5159b6926af70 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 24 Feb 2017 17:25:22 +0100 Subject: Fix nix-shell tests The nix-shell fix in 668fef2e4f1c7758e2a55e355b4826014d5b7ba9 revealed that we had some --pure tests that incorrectly depended on PATH from config.nix's mkDerivation being overwritten by the caller's PATH. http://hydra.nixos.org/build/49242478 --- tests/shell.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/shell.nix') diff --git a/tests/shell.nix b/tests/shell.nix index ed4d6fbaa..1a092913b 100644 --- a/tests/shell.nix +++ b/tests/shell.nix @@ -34,6 +34,7 @@ rec { mkdir -p $out/bin echo 'echo foo' > $out/bin/foo chmod a+rx $out/bin/foo + ln -s ${shell} $out/bin/bash ''; bar = runCommand "bar" {} '' -- cgit v1.2.3