[Nix-dev] fetchurl with executable bit?
Eelco Dolstra
eelco.dolstra at logicblox.com
Tue Jan 19 11:01:56 CET 2016
Hi,
On 18/01/16 21:04, Domen Kožar wrote:
> I've tried, but Nix doesn't allow setting executable bit:
>
> output path ‘/nix/store/h873wjrmvzx73di88b85mqm255gvjnng-blash.sh’ should be a
> non-executable regular file
Try passing
recursiveHash = true;
to fetchurl. Otherwise outputHashMode will be "flat" and that only allows
non-executable files.
--
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
More information about the nix-dev
mailing list