diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-01-19 18:25:35 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-01-19 18:25:35 +0000 |
commit | 3980444b2b918ef74ac7b9f1128f399767d06fa1 (patch) | |
tree | 192898a37f5eb271fdbbe1367da0e3e6b87cb2fb | |
parent | 0894d407ce0cc73bbb74c2774a925f1525e7979c (diff) |
* Reuse packages in the Darwin stdenv to prevent unnecessary rebuilds.
svn path=/nixpkgs/branches/stdenv-updates/; revision=31710
-rw-r--r-- | pkgs/stdenv/nix/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/stdenv/nix/default.nix b/pkgs/stdenv/nix/default.nix index b7411290f9fd..7eac06500032 100644 --- a/pkgs/stdenv/nix/default.nix +++ b/pkgs/stdenv/nix/default.nix @@ -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; + }; } |