2004-05-18 12:59:18 +02:00
|
|
|
{stdenv, genericStdenv, gccWrapper}:
|
|
|
|
|
|
|
|
genericStdenv {
|
|
|
|
name = "stdenv-darwin";
|
|
|
|
preHook = ./prehook.sh;
|
|
|
|
initialPath = "/usr/local /usr /";
|
|
|
|
|
|
|
|
inherit stdenv;
|
|
|
|
|
|
|
|
gcc = gccWrapper {
|
|
|
|
name = "gcc-darwin";
|
|
|
|
nativeTools = true;
|
2006-10-27 15:44:17 +02:00
|
|
|
nativeLibc = true;
|
2004-05-18 12:59:18 +02:00
|
|
|
nativePrefix = "/usr";
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
shell = "/bin/sh";
|
2006-03-08 16:34:05 +01:00
|
|
|
|
2008-05-27 09:49:55 +02:00
|
|
|
fetchurlBoot = import ../../build-support/fetchurl {
|
|
|
|
inherit stdenv;
|
2006-03-08 16:34:05 +01:00
|
|
|
# Curl should be in /usr/bin or so.
|
|
|
|
curl = null;
|
|
|
|
};
|
2004-05-18 12:59:18 +02:00
|
|
|
}
|