on develop help sign in
addGcTestDepends should noop on cross and ghcjs
commit863ba3f9e6c33efe3560e379e467dcb62148e616 authorLuigy Leon <luigy.leon@obsidian.systems> dateSat 5 Jan 2019, 05:59 (8 years ago) parent5ce8049
1 file changed+1−1
reflex-dom-core/default.nix+1−1
reflex-dom-core/default.nix+1−1
@@ -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