From 16c9935fa9487f504b1e9c7f14d0f85ac870a62c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 23 Jul 2015 22:25:04 +0200 Subject: Fix fetchurl of executable file Pointed out by @cstrahan, thanks! --- corepkgs/fetchurl.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'corepkgs') diff --git a/corepkgs/fetchurl.nix b/corepkgs/fetchurl.nix index 64d1f121f8..9ecb2225ba 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; -- cgit 1.4.1