summary refs log tree commit diff
path: root/pkgs/stdenv/nix-linux/boot.nix
blob: b556ba9ba361b3336df6e51b139786d91f31d989 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{stdenv, glibc, genericStdenv, gccWrapper}:

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

  inherit stdenv;

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

  bash = "/bin/sh";
}