summary refs log tree commit diff
path: root/pkgs/stdenv/nix-linux/default.nix
blob: 518939757488c33ffd82cc7837e773499052d15f (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 = "gcc-native";
    isNative = false;
    gcc = pkgs.gcc;
    binutils = pkgs.binutils;
    inherit stdenv glibc;
  };

  param1 = pkgs.bash;
}