about summary refs log tree commit diff
path: root/corepkgs/fetchurl/builder.sh.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-03-15T12·03+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-03-15T12·03+0000
commitbacd3a6cfa3af1879ef01e693178c74839d66f70 (patch)
treeadbe45ebcc229c82bd60c54500734f9700825716 /corepkgs/fetchurl/builder.sh.in
parente52ae1c0ffed6af893438cb456c5c38a272c8b21 (diff)
* Purify all corepkgs builders.
Diffstat (limited to 'corepkgs/fetchurl/builder.sh.in')
-rw-r--r--corepkgs/fetchurl/builder.sh.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/corepkgs/fetchurl/builder.sh.in b/corepkgs/fetchurl/builder.sh.in
index aaba65d6d26c..92b87465261d 100644
--- a/corepkgs/fetchurl/builder.sh.in
+++ b/corepkgs/fetchurl/builder.sh.in
@@ -1,13 +1,11 @@
 #! @shell@ -e
 
-export PATH=/bin:/usr/bin
-
 echo "downloading $url into $out"
 
 prefetch=@storedir@/nix-prefetch-url-$outputHash
 if test -f "$prefetch"; then
     echo "using prefetched $prefetch";
-    mv $prefetch $out
+    @coreutils@/mv $prefetch $out
 else
     @curl@ --fail --location --max-redirs 20 "$url" > "$out"
 fi