firefox: fixup build on i686-linux after 56.x update

Broken since #30143.
I can't say I understand why this combination is apparently unsupported.
i686-linux is a second-tier platform now, but firefox is still kept a
channel blocker...
This commit is contained in:
Vladimír Čunát 2017-10-14 21:23:16 +02:00
parent 0f01f8b882
commit e067d26f43
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -130,7 +130,8 @@ stdenv.mkDerivation (rec {
"--disable-gconf"
"--enable-default-toolkit=cairo-gtk${if gtk3Support then "3" else "2"}"
]
++ lib.optionals (stdenv.lib.versionAtLeast version "56") [
++ lib.optionals (stdenv.lib.versionAtLeast version "56" && !stdenv.hostPlatform.isi686) [
# on i686-linux: --with-libclang-path is not available in this configuration
"--with-libclang-path=${llvmPackages.clang-unwrapped}/lib"
"--with-clang-path=${llvmPackages.clang}/bin/clang"
]