summary refs log tree commit diff
path: root/pkgs/stdenv/freebsd/default.nix
blob: 22e223ca6cc1a39c8880a53b2b673231ca921d21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{stdenv, genericStdenv, gccWrapper}:

genericStdenv {
  name = "stdenv-native";
  preHook = ./prehook.sh;
  initialPath = "/usr/local /usr /";

  inherit stdenv;

  gcc = gccWrapper {
    name = "gcc-native";
    nativeTools = true;
    nativeLibc = true;
    nativePrefix = "/usr";
    inherit stdenv;
  };

  shell = "/bin/bash";

  extraAttrs = {
    # Curl should be in /usr/bin or so.
    curl = null;
  };
}