forked from mirrors/nixpkgs
1b47486557
svn path=/nixpkgs/trunk/; revision=1031
20 lines
333 B
Nix
20 lines
333 B
Nix
{stdenv, genericStdenv, gccWrapper}:
|
|
|
|
genericStdenv {
|
|
name = "stdenv-darwin";
|
|
preHook = ./prehook.sh;
|
|
initialPath = "/usr/local /usr /";
|
|
|
|
inherit stdenv;
|
|
|
|
gcc = gccWrapper {
|
|
name = "gcc-darwin";
|
|
nativeTools = true;
|
|
nativeGlibc = true;
|
|
nativePrefix = "/usr";
|
|
inherit stdenv;
|
|
};
|
|
|
|
shell = "/bin/sh";
|
|
}
|