mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
b6001eed67
installation phase) from the rpaths of ELF executables and libraries. This results in smaller closures. svn path=/nixpkgs/trunk/; revision=1534
23 lines
457 B
Nix
23 lines
457 B
Nix
{stdenv, glibc, pkgs, genericStdenv, gccWrapper}:
|
|
|
|
genericStdenv {
|
|
name = "stdenv-nix-linux";
|
|
preHook = ./prehook.sh;
|
|
initialPath = [
|
|
((import ../nix/path.nix) {pkgs = pkgs;})
|
|
pkgs.patchelf
|
|
];
|
|
|
|
inherit stdenv;
|
|
|
|
gcc = gccWrapper {
|
|
name = pkgs.gcc.name;
|
|
nativeTools = false;
|
|
nativeGlibc = false;
|
|
inherit (pkgs) gcc binutils;
|
|
inherit stdenv glibc;
|
|
shell = pkgs.bash ~ /bin/sh;
|
|
};
|
|
|
|
shell = pkgs.bash ~ /bin/sh;
|
|
}
|