2006-07-14 11:59:38 +00:00
|
|
|
{stdenv, pkgs}:
|
2004-03-11 17:26:14 +00:00
|
|
|
|
2006-07-14 11:59:38 +00:00
|
|
|
import ../generic {
|
2003-11-03 10:22:00 +00:00
|
|
|
name = "stdenv-nix";
|
2004-03-11 17:26:14 +00:00
|
|
|
preHook = ./prehook.sh;
|
2006-07-14 08:35:59 +00:00
|
|
|
initialPath = (import ../common-path.nix) {pkgs = pkgs;};
|
2004-03-11 17:26:14 +00:00
|
|
|
|
|
|
|
inherit stdenv;
|
|
|
|
|
2006-07-14 09:28:09 +00:00
|
|
|
gcc = import ../../build-support/gcc-wrapper {
|
2004-03-11 17:26:14 +00:00
|
|
|
nativeTools = false;
|
|
|
|
nativeGlibc = true;
|
|
|
|
inherit stdenv;
|
2006-07-14 11:59:38 +00:00
|
|
|
binutils =
|
|
|
|
if stdenv.system == "i686-darwin" || stdenv.system == "powerpc-darwin" then
|
|
|
|
import ../../build-support/native-darwin-cctools-wrapper {inherit stdenv;};
|
|
|
|
else
|
|
|
|
pkgs.binutils;
|
2006-07-14 09:28:09 +00:00
|
|
|
gcc = pkgs.gcc.gcc;
|
2004-03-30 12:46:52 +00:00
|
|
|
shell = pkgs.bash ~ /bin/sh;
|
2004-03-11 17:26:14 +00:00
|
|
|
};
|
|
|
|
|
2004-03-30 12:46:52 +00:00
|
|
|
shell = pkgs.bash ~ /bin/sh;
|
2006-05-31 15:08:25 +00:00
|
|
|
|
|
|
|
extraAttrs = {
|
|
|
|
# Curl should be in /usr/bin or so.
|
|
|
|
curl = null;
|
|
|
|
};
|
2003-11-03 10:22:00 +00:00
|
|
|
}
|