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

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

  inherit stdenv;

  gcc = (import ../../build-support/gcc-wrapper) {
    name = pkgs.gcc.name;
    nativeTools = false;
    nativeGlibc = false;
    inherit (pkgs) gcc binutils;
    inherit stdenv glibc;
  };

  param1 = pkgs.bash;
}