aboutsummaryrefslogtreecommitdiff
path: root/corepkgs/fetchurl
diff options
context:
space:
mode:
Diffstat (limited to 'corepkgs/fetchurl')
-rw-r--r--corepkgs/fetchurl/builder.sh.in8
1 files changed, 1 insertions, 7 deletions
diff --git a/corepkgs/fetchurl/builder.sh.in b/corepkgs/fetchurl/builder.sh.in
index 92b874652..02abb18b4 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"