fix nixpkgs tarball.

Not all systems have glibc into stdenv but mpich needs to propagate
it (because when linking pthread and rt librairies are required).

svn path=/nixpkgs/trunk/; revision=28623
This commit is contained in:
David Guibert 2011-08-16 21:13:20 +00:00
parent f893414286
commit f4b2ec4b58

View File

@ -12,7 +12,7 @@ stdenv.mkDerivation {
configureFlags = "--enable-shared --enable-sharedlib";
buildInputs = [ python perl gfortran ];
propagatedBuildInputs = [ stdenv.glibc ];
propagatedBuildInputs = stdenv.lib.optional (stdenv ? glibc) [ stdenv.glibc ];
patchPhase =
'' for i in $(find -type f -not -name Makefile.\*)