summary refs log tree commit diff
path: root/pkgs/stdenv/cygwin/default.nix
blob: b1ca853c612bdd0ac14557c029f9d170217ee6e6 (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
25
{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";

  fetchurlBoot = import ../../build-support/fetchurl {
    inherit stdenv;
    # Curl should be in /usr/bin or so.
    curl = null;
  };
}