@@ -7,7 +7,7 @@
77, unix, zenc, hashable, chromium, process, jsaddle-warp
88, linux-namespaces, iproute, network-uri, fontconfig
99}:
10−let addGcTestDepends = drv: if stdenv.system != "x86_64-linux" then drv else drv // {
10+let addGcTestDepends = drv: if (stdenv.system != "x86_64-linux" || stdenv.hostPlatform != stdenv.buildPlatform || (ghc.isGhcjs or false)) then drv else drv // {
1111 # The headless browser run as part of gc tests would hang/crash without this
1212 preCheck = ''
1313 export FONTCONFIG_PATH=${fontconfig.out}/etc/fonts