about summary refs log tree commit diff
path: root/corepkgs/fetchurl.nix
diff options
context:
space:
mode:
Diffstat (limited to 'corepkgs/fetchurl.nix')
-rw-r--r--corepkgs/fetchurl.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/corepkgs/fetchurl.nix b/corepkgs/fetchurl.nix
index 758212015aee..72107294c72a 100644
--- a/corepkgs/fetchurl.nix
+++ b/corepkgs/fetchurl.nix
@@ -10,7 +10,8 @@ assert (outputHash != "" && outputHashAlgo != "")
 
 derivation {
   name = baseNameOf (toString url);
-  builder = ./fetchurl.sh;
+  builder = shell;
+  args = [ "-e" ./fetchurl.sh ];
 
   # Compatibility with Nix <= 0.7.
   id = md5;