On 02/04/2016 09:31 AM, stewart mackenzie wrote:
> Hello,
>
>[...]
> Notice $snapshot isn't evaluated.
>
> Is there a way for me to get $snapshot evaluated without copying over
> all the code from nixpkgs yet simply overriding the configureFlags?
> (example code I'd need to copy over
> https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/rustc/generic.nix#L33-L119)
Typically you do something like this:
preConfigure = ''
configureFlagsArray+=("--local-rust-root=$snapshot")
'';
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev