[Nix-dev] myEnvFun rebuilds gcc

Lluís Batlle i Rossell viric at viric.name
Tue Jan 24 23:26:46 CET 2012


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.


More information about the nix-dev mailing list