diff options
Diffstat (limited to 'pkgs/stdenv/nix-linux/default.nix')
-rw-r--r-- | pkgs/stdenv/nix-linux/default.nix | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/pkgs/stdenv/nix-linux/default.nix b/pkgs/stdenv/nix-linux/default.nix index b0898826b5d72..518939757488c 100644 --- a/pkgs/stdenv/nix-linux/default.nix +++ b/pkgs/stdenv/nix-linux/default.nix @@ -1,13 +1,19 @@ -{bootStdenv, pkgs, glibc}: (import ../generic) { +{stdenv, glibc, pkgs}: + +(import ../generic) { name = "stdenv-nix-linux"; - system = bootStdenv.system; - prehook = ./prehook.sh; - posthook = ./posthook.sh; + 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; - param2 = pkgs.gcc; - param3 = pkgs.binutils; - param4 = glibc; - param5 = ""; - noSysDirs = true; } |