[Nix-dev] Re: Re: ${out}

2010-04-11 Thread Yury G. Kudryashov
Jeff Johnson wrote: So I'd limit this to replacing $out only. The problem of infinite recursion can/will reappear no matter value ${out} has, as its intrinsic to lazy evaluation. Sorry, I should've write the proposal in more details in the first message. I know that nix language cannot replace

Re: [Nix-dev] Re: Re: ${out}

2010-04-11 Thread Marc Weber
derivation { configureFlags=--with-plugins=\${out}/lib/plugins; } personally I think using \${out} is not intuitive. I'd prefer using \ for escaping and using ${out} to insert values which is done everywhere (bash, ruby, PHP, ...) I know that I've tried using this several times. I've learned to

Re: [Nix-dev] Re: Re: ${out}

2010-04-11 Thread Jeff Johnson
On Apr 11, 2010, at 11:49 AM, Yury G. Kudryashov wrote: Jeff Johnson wrote: So I'd limit this to replacing $out only. The problem of infinite recursion can/will reappear no matter value ${out} has, as its intrinsic to lazy evaluation. Sorry, I should've write the proposal in more details in