On Sat, Oct 11, 2014 at 03:09:37PM +0200, Vladimír Čunát wrote:
> On 10/11/2014 02:55 PM, Shea Levy wrote:
> >In my experience, the majority of scripts in nixpkgs either put
> >dependend packages in buildInputs or interpolate them directly into
> >scripts; adding a package directly as an env var is rare. Why is this
> >worth giving up the superior readability and fidelity to actual package
> >name provided by dashes?
> 
> +1. Are there any use cases for directly inheriting packages into the
> derivation?
> 
> BTW, what happens if you do it?
> 

If you do { inherit gcc; }, then $gcc just points to gcc's out path at
build time.

> 
> Vladimir
> 
> 



> _______________________________________________
> nix-dev mailing list
> [email protected]
> http://lists.science.uu.nl/mailman/listinfo/nix-dev

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to