diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-08-09 23:16:44 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-08-09 23:16:44 +0000 |
commit | f881f7a017059fb501668aa85d41e873fe8f5285 (patch) | |
tree | a8af6e6b159db1e01fd09f170e6f16718c390c3e /scripts/nix-pull.in | |
parent | ef240bc0d564d8de8877724756c1e7765c74ff75 (diff) |
* nix-prefetch-url: support caching. If the environment variable
NIX_DOWNLOAD_CACHE is set, then nix-prefetch-url will store the hash
and timestamp of downloaded files in the directory
$NIX_DOWNLOAD_CACHE. This allows it to figure out if the file is
still in the Nix store.
Diffstat (limited to 'scripts/nix-pull.in')
-rw-r--r-- | scripts/nix-pull.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-pull.in b/scripts/nix-pull.in index 46f9f147c..94ac74425 100644 --- a/scripts/nix-pull.in +++ b/scripts/nix-pull.in @@ -39,7 +39,7 @@ sub processURL { $url =~ s/\/$//; print "obtaining list of Nix archives at $url...\n"; - system("@curl@ --fail --silent --show-error --location --max-redirs 20 " . + system("@curl@ --fail -# --show-error --location --max-redirs 20 " . "'$url' > '$manifest'") == 0 or die "curl failed: $?"; |