mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
01fbf62a2c
right now; should merge gcc-wrapper changes). svn path=/nixpkgs/trunk/; revision=6876
24 lines
414 B
Nix
24 lines
414 B
Nix
{stdenv, genericStdenv, gccWrapper}:
|
|
|
|
genericStdenv {
|
|
name = "stdenv-native";
|
|
preHook = ./prehook.sh;
|
|
initialPath = "/usr/local /usr /";
|
|
|
|
inherit stdenv;
|
|
|
|
gcc = gccWrapper {
|
|
name = "gcc-native";
|
|
nativeTools = true;
|
|
nativeLibc = true;
|
|
nativePrefix = "/usr";
|
|
inherit stdenv;
|
|
};
|
|
|
|
shell = "/bin/bash";
|
|
|
|
extraAttrs = {
|
|
# Curl should be in /usr/bin or so.
|
|
curl = null;
|
|
};
|
|
}
|