mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
1dee2d3de0
svn path=/nixpkgs/branches/stdenv-updates/; revision=13957
27 lines
640 B
Nix
27 lines
640 B
Nix
{stdenv, pkgs}:
|
|
|
|
import ../generic {
|
|
name = "stdenv-nix";
|
|
preHook = ./prehook.sh;
|
|
initialPath = (import ../common-path.nix) {pkgs = pkgs;};
|
|
|
|
system = stdenv.system;
|
|
|
|
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 = stdenv.fetchurlBoot;
|
|
}
|