[Nix-dev] $out in configureFlags is not expanded

Bjørn Forsman bjorn.forsman at gmail.com
Sun May 19 12:05:16 CEST 2013


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?

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list