on develop help sign in
Avoid fontconfig if not required
commit7cfee4856470f9d78d27ee707fe081992953db14 authorLuigy Leon <luigy@outlook.com> dateFri 4 Jan 2019, 23:01 (8 years ago) parent1ced681
1 file changed+4−5
reflex-dom-core/default.nix+4−5
reflex-dom-core/default.nix+4−5
@@ -8,6 +8,10 @@
88, linux-namespaces, iproute, network-uri, fontconfig
99}:
1010let addGcTestDepends = drv: if stdenv.system != "x86_64-linux" then drv else drv // {
11+ # The headless browser run as part of gc tests would hang/crash without this
12+ preCheck = ''
13+ export FONTCONFIG_PATH=${fontconfig.out}/etc/fonts
14+ '';
1115 testHaskellDepends = (drv.testHaskellDepends or []) ++ [ temporary jsaddle-warp process linux-namespaces ];
1216 testSystemDepends = (drv.testSystemDepends or []) ++ [ chromium iproute ];
1317 };
@@ -34,11 +38,6 @@ in mkDerivation (addGcTestDepends {
3438 export HOME="$PWD"
3539 '';
3640
37− # The headless browser run as part of gc tests would hang/crash without this
38− preCheck = ''
39− export FONTCONFIG_PATH=${fontconfig.out}/etc/fonts
40− '';
41−
4241 # Show some output while running tests, so we might notice what's wrong
4342 testTarget = "--show-details=streaming";
4443