about summary refs log tree commit diff
path: root/corepkgs/fetchurl
diff options
context:
space:
mode:
Diffstat (limited to 'corepkgs/fetchurl')
-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