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:
parent
f893414286
commit
f4b2ec4b58
1 changed files with 1 additions and 1 deletions
|
@ -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.\*)
|
||||
|
|
Loading…
Reference in a new issue