Thanks: https://github.com/NixOS/nixpkgs/pull/12469

On Tue, Jan 19, 2016 at 11:01 AM, Eelco Dolstra <[email protected]
> wrote:

> 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/
> _______________________________________________
> nix-dev mailing list
> [email protected]
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to