{stdenv, genericStdenv, gccWrapper}:
genericStdenv {
name = "stdenv-darwin";
preHook = ./prehook.sh;
initialPath = "/usr/local /usr /";
inherit stdenv;
gcc = gccWrapper {
name = "gcc-darwin";
nativeTools = true;
nativeLibc = true;
nativePrefix = "/usr";
};
shell = "/bin/sh";
extraAttrs = {
# Curl should be in /usr/bin or so.
curl = null;
}