3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/stdenv/nix/default.nix

30 lines
696 B
Nix
Raw Normal View History

{stdenv, pkgs}:
import ../generic {
name = "stdenv-nix";
preHook = ./prehook.sh;
initialPath = (import ../common-path.nix) {pkgs = pkgs;};
inherit stdenv;
gcc = import ../../build-support/gcc-wrapper {
nativeTools = false;
nativeLibc = true;
inherit stdenv;
binutils =
if stdenv.isDarwin then
import ../../build-support/native-darwin-cctools-wrapper {inherit stdenv;}
else
pkgs.binutils;
gcc = if stdenv.isDarwin then pkgs.gccApple.gcc else pkgs.gcc.gcc;
shell = pkgs.bash + "/bin/sh";
};
shell = pkgs.bash + "/bin/sh";
fetchurlBoot = import ../../build-support/fetchurl {
inherit stdenv;
curl = pkgs.curl;
};
}