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.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/corepkgs/fetchurl/builder.sh.in b/corepkgs/fetchurl/builder.sh.in
index 4379b423dbae..c1a735d68fef 100644
--- a/corepkgs/fetchurl/builder.sh.in
+++ b/corepkgs/fetchurl/builder.sh.in
@@ -4,7 +4,7 @@ export PATH=/bin:/usr/bin
 
 echo "downloading $url into $out"
 
-prefetch=@prefix@/store/nix-prefetch-url-$md5
+prefetch=@storedir@/nix-prefetch-url-$md5
 if test -f "$prefetch"; then
     echo "using prefetched $prefetch";
     mv $prefetch $out