* Reuse packages in the Darwin stdenv to prevent unnecessary rebuilds.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31710
This commit is contained in:
Eelco Dolstra 2012-01-19 18:25:35 +00:00
parent 0894d407ce
commit 3980444b2b

View File

@ -1,6 +1,6 @@
{stdenv, pkgs}:
{ stdenv, pkgs }:
import ../generic {
import ../generic rec {
name = "stdenv-nix";
preHook =
@ -38,4 +38,12 @@ import ../generic {
shell = pkgs.bash + "/bin/sh";
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;
};
}