mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
3defd9a3d3
svn path=/nixpkgs/trunk/; revision=5715
30 lines
670 B
Nix
30 lines
670 B
Nix
{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;
|
|
nativeGlibc = 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;
|
|
|
|
extraAttrs = {
|
|
# Curl should be in /usr/bin or so.
|
|
curl = null;
|
|
};
|
|
}
|