2006-07-14 04:59:38 -07:00
|
|
|
{stdenv, pkgs}:
|
2004-03-11 09:26:14 -08:00
|
|
|
|
2006-07-14 04:59:38 -07:00
|
|
|
import ../generic {
|
2003-11-03 02:22:00 -08:00
|
|
|
name = "stdenv-nix";
|
2004-03-11 09:26:14 -08:00
|
|
|
preHook = ./prehook.sh;
|
2006-07-14 01:35:59 -07:00
|
|
|
initialPath = (import ../common-path.nix) {pkgs = pkgs;};
|
2004-03-11 09:26:14 -08:00
|
|
|
|
|
|
|
inherit stdenv;
|
|
|
|
|
2006-07-14 02:28:09 -07:00
|
|
|
gcc = import ../../build-support/gcc-wrapper {
|
2004-03-11 09:26:14 -08:00
|
|
|
nativeTools = false;
|
2006-10-24 11:26:23 -07:00
|
|
|
nativeLibc = true;
|
2004-03-11 09:26:14 -08:00
|
|
|
inherit stdenv;
|
2006-07-14 04:59:38 -07:00
|
|
|
binutils =
|
2006-07-14 15:34:24 -07:00
|
|
|
if stdenv.isDarwin then
|
2006-07-14 06:34:39 -07:00
|
|
|
import ../../build-support/native-darwin-cctools-wrapper {inherit stdenv;}
|
2006-07-14 04:59:38 -07:00
|
|
|
else
|
|
|
|
pkgs.binutils;
|
2006-07-14 15:34:24 -07:00
|
|
|
gcc = if stdenv.isDarwin then pkgs.gccApple.gcc else pkgs.gcc.gcc;
|
2006-10-17 07:06:18 -07:00
|
|
|
shell = pkgs.bash + "/bin/sh";
|
2004-03-11 09:26:14 -08:00
|
|
|
};
|
|
|
|
|
2006-10-17 07:06:18 -07:00
|
|
|
shell = pkgs.bash + "/bin/sh";
|
2006-05-31 08:08:25 -07:00
|
|
|
|
|
|
|
extraAttrs = {
|
2006-07-20 08:21:36 -07:00
|
|
|
curl = pkgs.realCurl;
|
2006-05-31 08:08:25 -07:00
|
|
|
};
|
2003-11-03 02:22:00 -08:00
|
|
|
}
|