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

genericStdenv {
  name = "stdenv-nix";
  preHook = ./prehook.sh;
  initialPath = (import ./path.nix) {pkgs = pkgs;};

  inherit stdenv;

  gcc = gccWrapper {
    name = pkgs.gcc.name;
    nativeTools = false;
    nativeGlibc = true;
    inherit (pkgs) gcc binutils;
    inherit stdenv;
    shell = pkgs.bash ~ /bin/sh;
  };

  shell = pkgs.bash ~ /bin/sh;
}