[Nix-dev] $out in configureFlags is not expanded
Vladimír Čunát
vcunat at gmail.com
Sun May 19 12:12:14 CEST 2013
On 05/19/2013 12:05 PM, Bjørn Forsman wrote:
> On 19 May 2013 09:37, Lluís Batlle i Rossell <viric at viric.name> wrote:
>> On Sat, May 18, 2013 at 07:11:32PM +0200, Bjørn Forsman wrote:
>>> preConfigure = ''configureFlags="--foo=$out/etc/foo.cfg"'';
>>
>> That's what we all end up doing. :)
>
> Hehe, Ok I see :-)
>
> But how about "eval configureFlags=$configureFlags" (or something like
> that) in the builder? Wouldn't it solve this issue?
I'm not sure if this would preserve spaces as they were before, but on
the whole I think it would be better to expand vars in configureFlags.
Vlada
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3251 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20130519/96586394/attachment.bin
More information about the nix-dev
mailing list