[Nix-dev] myEnvFun rebuilds gcc
Shea Levy
shea at shealevy.com
Tue Jan 24 23:47:51 CET 2012
On 1/24/12 5:39 PM, Sergey Mironov wrote:
> 2012/1/25 Lluís Batlle i Rossell<viric at viric.name>:
>> On Wed, Jan 25, 2012 at 02:17:58AM +0400, Sergey Mironov wrote:
>>> Hello. I am trying to setup an dev environment with the following
>>> expression in ~/.nixpkgs/config.nix
>>>
>>> gogrEnv = pkgs.myEnvFun rec {
>>> name = "gogr";
>>> buildInputs = [
>>> pkgconfig
>>> cmake
>>> qt4
>>> gcc
>>> ];
>>> };
>>>
>> I think it's about the magical overriding of pkgs with 'stdenv.overrides' (code
>> in all-packages.nix). To have gcc there, I usually put 'stdenv' in the list.
>>
>> Regards,
>> Lluís.
> Hm. Yes, overrides looks like a magic. Which list do you mean? I've tried
>
> gogrEnv = pkgs.myEnvFun rec {
> name = "gogr";
> buildInputs = [
> ...
> gcc
> stdenv
> ];
>
> but nothing has changed.
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
You need to remove the gcc, and just put the stdenv in buildInputs
More information about the nix-dev
mailing list