From 5cb6c42088347bf7ba513cdd68b20c91035c7db9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 1 Mar 2006 13:49:12 +0000 Subject: * Test nix-build. This also tests indirect roots. --- tests/nix-pull.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/nix-pull.sh') diff --git a/tests/nix-pull.sh b/tests/nix-pull.sh index 146227b71aac..03dcdb21d506 100644 --- a/tests/nix-pull.sh +++ b/tests/nix-pull.sh @@ -36,4 +36,6 @@ cat $outPath/input-2/bar # Check that the derivers are set properly. test $($nixstore -q --deriver "$outPath") = "$drvPath" -$nixstore -q --deriver $(/bin/ls -l $outPath/input-2 | sed 's/.*->\ //') | grep -q -- "-input-2.drv" +$nixstore -q --deriver $(ls -l $outPath/input-2 | sed 's/.*->\ //') | grep -q -- "-input-2.drv" + +$nixstore --clear-substitutes -- cgit 1.4.1