mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
01fbf62a2c
right now; should merge gcc-wrapper changes). svn path=/nixpkgs/trunk/; revision=6876
25 lines
412 B
Nix
25 lines
412 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;
|
|
nativeLibc = true;
|
|
nativePrefix = "/usr";
|
|
inherit stdenv;
|
|
};
|
|
|
|
shell = "/bin/sh";
|
|
|
|
extraAttrs = {
|
|
# Curl should be in /usr/bin or so.
|
|
curl = null;
|
|
};
|
|
}
|