diff options
author | Shea Levy <shea@shealevy.com> | 2012-07-08T14·33-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-09T19·29-0400 |
commit | f863673a903d17566be8a03bcf8655d9912428bd (patch) | |
tree | 232cfab94729de279a1240b238cac720ae1ebf6c /corepkgs/fetchurl.nix | |
parent | a994eb92a4e0d8744b244cd421c855d76831bdc0 (diff) |
corepkgs/fetchurl: Call the shell directly instead of using the shebang
Diffstat (limited to 'corepkgs/fetchurl.nix')
-rw-r--r-- | corepkgs/fetchurl.nix | 3 |
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; |