[Nix-dev] myEnvFun rebuilds gcc
Peter Simons
simons at cryp.to
Sun Jan 29 17:33:38 CET 2012
Hi Sergey,
> 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
> ];
> };
>
> When I type nix-env -i env-gogr, it starts building gcc locally.
replace "gcc" with "stdenv.gcc" to get the gcc version that's part of stdenv.
Take care,
Peter
More information about the nix-dev
mailing list