diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-04-07T14·01+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-04-07T14·01+0000 |
commit | c815aff21b668f5fe7bbd04086a988df51281840 (patch) | |
tree | 8532d7fab1ab916c99d9034cfa2167b73726aba4 /corepkgs | |
parent | 57d023a184bdc2f30cd7052c157e43ba1bca8288 (diff) |
* `nix-store --add-fixed' to preload the outputs of fixed-output
derivations. This is mostly to simplify the implementation of nix-prefetch-{url, svn}, which now work properly in setuid installations. * Enforce valid store names in `nix-store --add / --add-fixed'.
Diffstat (limited to 'corepkgs')
-rw-r--r-- | corepkgs/fetchurl/builder.sh.in | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/corepkgs/fetchurl/builder.sh.in b/corepkgs/fetchurl/builder.sh.in index 92b87465261d..02abb18b4b77 100644 --- a/corepkgs/fetchurl/builder.sh.in +++ b/corepkgs/fetchurl/builder.sh.in @@ -2,10 +2,4 @@ echo "downloading $url into $out" -prefetch=@storedir@/nix-prefetch-url-$outputHash -if test -f "$prefetch"; then - echo "using prefetched $prefetch"; - @coreutils@/mv $prefetch $out -else - @curl@ --fail --location --max-redirs 20 "$url" > "$out" -fi +@curl@ --fail --location --max-redirs 20 "$url" > "$out" |