From 98df735b5149bc1e39ce6b0bae13fbf7cebcdc05 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 9 Feb 2005 12:57:13 +0000 Subject: * Propagate the deriver of a path through the substitute mechanism. * Removed some dead code (successor stuff) from nix-push. * Updated terminology in the tests (store expr -> drv path). * Check that the deriver is set properly in the tests. --- tests/nix-pull.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/nix-pull.sh') diff --git a/tests/nix-pull.sh b/tests/nix-pull.sh index 9a17f5bf60..b4a5e33711 100644 --- a/tests/nix-pull.sh +++ b/tests/nix-pull.sh @@ -31,3 +31,7 @@ echo "building $drvPath using substitutes..." $TOP/src/nix-store/nix-store -r $drvPath cat $outPath/input-2/bar + +# Check that the derivers are set properly. +test $($TOP/src/nix-store/nix-store -q --deriver "$outPath") = "$drvPath" +$TOP/src/nix-store/nix-store -q --deriver $(readlink $outPath/input-2) | grep -q -- "-input-2.drv" -- cgit 1.4.1