* Reuse packages in the Darwin stdenv to prevent unnecessary rebuilds.
svn path=/nixpkgs/branches/stdenv-updates/; revision=31710
This commit is contained in:
parent
0894d407ce
commit
3980444b2b
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, pkgs }:
|
{ stdenv, pkgs }:
|
||||||
|
|
||||||
import ../generic {
|
import ../generic rec {
|
||||||
name = "stdenv-nix";
|
name = "stdenv-nix";
|
||||||
|
|
||||||
preHook =
|
preHook =
|
||||||
|
@ -38,4 +38,12 @@ import ../generic {
|
||||||
shell = pkgs.bash + "/bin/sh";
|
shell = pkgs.bash + "/bin/sh";
|
||||||
|
|
||||||
fetchurlBoot = stdenv.fetchurlBoot;
|
fetchurlBoot = stdenv.fetchurlBoot;
|
||||||
|
|
||||||
|
overrides = pkgs_: {
|
||||||
|
inherit gcc;
|
||||||
|
inherit (gcc) binutils;
|
||||||
|
inherit (pkgs)
|
||||||
|
gzip bzip2 xz bash coreutils diffutils findutils gawk
|
||||||
|
gnumake gnused gnutar gnugrep gnupatch perl;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue