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
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
|||||||
configureFlags = "--enable-shared --enable-sharedlib";
|
configureFlags = "--enable-shared --enable-sharedlib";
|
||||||
|
|
||||||
buildInputs = [ python perl gfortran ];
|
buildInputs = [ python perl gfortran ];
|
||||||
propagatedBuildInputs = [ stdenv.glibc ];
|
propagatedBuildInputs = stdenv.lib.optional (stdenv ? glibc) [ stdenv.glibc ];
|
||||||
|
|
||||||
patchPhase =
|
patchPhase =
|
||||||
'' for i in $(find -type f -not -name Makefile.\*)
|
'' for i in $(find -type f -not -name Makefile.\*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user