[Nix-dev] Accessing files in derivations.

Vladimír Čunát vcunat at gmail.com
Tue Apr 19 18:51:02 CEST 2016


On 04/19/2016 04:01 PM, Layus wrote:
> That operator would ensure that the path exists in the derivation, but 
> also look up through the outputs to find one containing that file.

Unfortunately, during evaluation you can't access the results of builds
to check whether some path exists. (Well, technically you can, but we
avoid it, as it has nasty consequences.)

--Vladimir


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3771 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160419/94445b40/attachment.bin 


More information about the nix-dev mailing list