From 066da4ab852ebe4288536149824ea175dc36cad4 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 25 Jan 2005 17:08:52 +0000 Subject: * Really fix the substitute mechanism, i.e., ensure the closure invariant by registering references through the manifest. * Added a test for nix-pull. --- scripts/nix-prefetch-url.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts/nix-prefetch-url.in') diff --git a/scripts/nix-prefetch-url.in b/scripts/nix-prefetch-url.in index c4731f3f627b..409c3f992d91 100644 --- a/scripts/nix-prefetch-url.in +++ b/scripts/nix-prefetch-url.in @@ -46,10 +46,8 @@ storeExpr=$( \ {url = $url; outputHashAlgo = \"$hashType\"; outputHash = \"$hash\"; system = \"@system@\";}" \ | @bindir@/nix-instantiate -) -echo "$storeExpr" - # Realise it. -finalPath=$(@bindir@/nix-store -qnB --force-realise $storeExpr) +finalPath=$(@bindir@/nix-store -q --force-realise $storeExpr) if ! test -n "$QUIET"; then echo "path is $finalPath" >&2; fi -- cgit 1.4.1