Fixing a stdenv problem... 'binutils' where linked with zlib from

bootstrap-tools, because zlib was there and binutils were not having an
explicit buildInput for zlib. Due to that, we ended up with stdenv
(gcc-wrapper) depending on bootstrap-tools as runtime dependency.


svn path=/nixpkgs/branches/stdenv-updates/; revision=24790
This commit is contained in:
Lluís Batlle i Rossell
2010-11-21 14:29:20 +00:00
parent ea00506f53
commit c1620ef552
2 changed files with 5 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
{stdenv, fetchurl, noSysDirs, cross ? null}:
{stdenv, fetchurl, noSysDirs, zlib, cross ? null}:
let
basename = "binutils-2.20.51";
@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
./new-dtags.patch
];
buildInputs = [ zlib ];
inherit noSysDirs;
preConfigure = ''