41a9a00c9b
svn path=/nixpkgs/trunk/; revision=1584
23 lines
513 B
Nix
23 lines
513 B
Nix
{stdenv, glibc, pkgs, genericStdenv, gccWrapper}:
|
|
|
|
genericStdenv {
|
|
name = "stdenv-nix-linux-static";
|
|
preHook = ./prehook.sh;
|
|
initialPath = (import ./path.nix) {pkgs = (import ./pkgs.nix) {stdenv = stdenv;};};
|
|
|
|
inherit stdenv;
|
|
|
|
gcc = gccWrapper {
|
|
#name = pkgs.gcc.name;
|
|
nativeTools = false;
|
|
nativeGlibc = false;
|
|
inherit (pkgs) binutils;
|
|
gcc = (import ./gcc-static) {stdenv = stdenv;};
|
|
inherit stdenv glibc;
|
|
shell = pkgs.bash ~ /bin/sh;
|
|
};
|
|
|
|
shell = pkgs.bash ~ /bin/sh;
|
|
|
|
}
|