1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 14:21:48 +02:00

Fix fetchurl of executable file

Pointed out by @cstrahan, thanks!
This commit is contained in:
Eelco Dolstra 2015-07-23 22:25:04 +02:00
parent 19eddecc0f
commit 16c9935fa9
2 changed files with 2 additions and 2 deletions

View file

@ -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;