aboutsummaryrefslogtreecommitdiff
path: root/corepkgs/fetchurl.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-07-23 22:25:04 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-07-23 22:25:04 +0200
commit16c9935fa9487f504b1e9c7f14d0f85ac870a62c (patch)
tree681df5b4ddc9f451e67e8f58cefe698afb516d53 /corepkgs/fetchurl.nix
parent19eddecc0fc4e8c12063626eaf942642894a3580 (diff)
Fix fetchurl of executable file
Pointed out by @cstrahan, thanks!
Diffstat (limited to 'corepkgs/fetchurl.nix')
-rw-r--r--corepkgs/fetchurl.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/corepkgs/fetchurl.nix b/corepkgs/fetchurl.nix
index 64d1f121f..9ecb2225b 100644
--- a/corepkgs/fetchurl.nix
+++ b/corepkgs/fetchurl.nix
@@ -16,7 +16,7 @@ derivation {
if sha256 != "" then sha256 else if sha1 != "" then sha1 else md5;
outputHashMode = if executable then "recursive" else "flat";
- inherit system url;
+ inherit system url executable;
# No need to double the amount of network traffic
preferLocalBuild = true;