[Nix-dev] /nix/store/xxxxxxx-bash not executable?

Ben Franksen ben.franksen at online.de
Mon Dec 3 01:30:16 CET 2007


I get this strange error with a self-written nix-expression:

ben at sarun: ~/software > nix-build nixpkgs_unstable -A epics -K
store derivation
is /nix/store/3s81qq9i20w8igiba3ahjx424r6aa8j2-epics-base-3.14.8.2.drv
building path(s) `/nix/store/5sq3bzy0jw5xnn4zlq38xmpvw0fd4qjy-curl'
build error: executing `/nix/store/4ar1011408cfx2arqirab6dvbb2fdbrx-bash':
Permission denied
[...more error messages elided...]

ben at sarun: ~/software >
ls -l /nix/store/4ar1011408cfx2arqirab6dvbb2fdbrx-bash 
-r--r--r-- 1 ben ben 488776 1970-01-01
01:00 /nix/store/4ar1011408cfx2arqirab6dvbb2fdbrx-bash

How can this be?

My nix-expression does nothing remarkable, really. I am using
nix-0.11pre9810 and nixpkgs_unstable (downloaded tonight), with some
additions, see attached patch (which can be applied with patch -p1
nixpkgs_unstable_epics.patch). Anyway, I'd be very astonished if the error
has anything to do with the nix-expressions (or the builder) I added; note
that the error happens when trying to build curl (which I didn't touch in
any way).

(I am not using NixOS, only Nix. My system is kubuntu 7.10 Gutsy).

Cheers
Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nixpkgs_unstable_epics.patch
Type: text/x-diff
Size: 2586 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20071203/97a1baf4/attachment.bin 


More information about the nix-dev mailing list