glibc: fixing the glibcLocales build

It was stopping hydra from evaluating further, I think. I broke it
in my previous commit.
This commit is contained in:
Lluís Batlle i Rossell 2012-08-20 10:04:07 +02:00
parent 3694b0f892
commit 93a7450c6a

View File

@ -110,7 +110,7 @@ stdenv.mkDerivation ({
(if profilingLibraries
then "--enable-profile"
else "--disable-profile")
] ++ stdenv.lib.optionals (cross == null) [
] ++ stdenv.lib.optionals (cross == null && kernelHeaders != null) [
"--enable-kernel=${kernelHeaders.versionForGlibc}"
] ++ stdenv.lib.optionals (cross != null) [
(if cross.withTLS then "--with-tls" else "--without-tls")