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/gc.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/gc.sh') diff --git a/tests/gc.sh b/tests/gc.sh index e45e35a8c9b6..9fe0068b38c3 100644 --- a/tests/gc.sh +++ b/tests/gc.sh @@ -1,5 +1,5 @@ -storeExpr=$($TOP/src/nix-instantiate/nix-instantiate dependencies.nix) -outPath=$($TOP/src/nix-store/nix-store -rvv "$storeExpr") +drvPath=$($TOP/src/nix-instantiate/nix-instantiate dependencies.nix) +outPath=$($TOP/src/nix-store/nix-store -rvv "$drvPath") # Set a GC root. ln -s $outPath "$NIX_STATE_DIR"/gcroots/foo @@ -11,4 +11,4 @@ cat $outPath/foobar cat $outPath/input-2/bar # Check that the derivation has been GC'd. -if cat $storeExpr > /dev/null; then false; fi +if cat $drvPath > /dev/null; then false; fi -- cgit 1.4.1