nixpkgs/pkgs/stdenv/nix/default.nix
Eelco Dolstra 76405f2b7f * `drv + /path' is deprecated, so don't do that anymore.
svn path=/nixpkgs/trunk/; revision=6754
2006-10-17 14:06:18 +00:00

29 lines
643 B
Nix

{stdenv, pkgs}:
import ../generic {
name = "stdenv-nix";
preHook = ./prehook.sh;
initialPath = (import ../common-path.nix) {pkgs = pkgs;};
inherit stdenv;
gcc = import ../../build-support/gcc-wrapper {
nativeTools = false;
nativeGlibc = true;
inherit stdenv;
binutils =
if stdenv.isDarwin then
import ../../build-support/native-darwin-cctools-wrapper {inherit stdenv;}
else
pkgs.binutils;
gcc = if stdenv.isDarwin then pkgs.gccApple.gcc else pkgs.gcc.gcc;
shell = pkgs.bash + "/bin/sh";
};
shell = pkgs.bash + "/bin/sh";
extraAttrs = {
curl = pkgs.realCurl;
};
}