Hi, I'm new to Nix, and kicking the tires.
Right now, I'm trying to compile dmd (the D compiler) using Nix, but when I try to compile it, it can't seem to find my C++ compiler: rix0rrr@moloch ~/D/n/nixpkgs(master)> nix-env -i dmd installing `dmd-2.066.1' these derivations will be built: /nix/store/wnpzsw0gjchi891kr60cvaq2r9z6bzq6-dmd-2.066.1.drv . . . building idgen g++ -m64 idgen.c -o idgenn make: g++: Command not found . . . error: build of `/nix/store/wnpzsw0gjchi891kr60cvaq2r9z6bzq6-dmd-2.066.1.drv' failed Running a build shell works fine: rix0rrr@moloch ~/D/n/nixpkgs(master)> nix-build '<nixpkgs>' --run-env -A dmd [nix-shell:~/Dev/nix/nixpkgs]$ which gcc /usr/bin/gcc But I notice that my regular PATH is still in effect (including /usr/bin), and I figure it won't be in a "pure" Nix build, so I guess that kinda makes sense. Question is, why won't the dmd expression pick up the compiler normally? The thing is using regular stdenv, and I guess it must have worked for somebody, sometime. I'm still on Mavericks, by the way. Thanks for any help. Regards, Rico
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev