On 1/24/12 5:39 PM, Sergey Mironov wrote:
> 2012/1/25 Lluís Batlle i Rossell<[email protected]>:
>> 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
> [email protected]
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
You need to remove the gcc, and just put the stdenv in buildInputs
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev