summary refs log tree commit diff
path: root/pkgs/stdenv/darwin/default.nix
blob: b07a694276e9f9580b190e512f285aa33fa39c5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{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";
}