@@ -9,6 +9,8 @@
99, template-haskell, temporary, text, these, transformers, unix, wai
1010, wai-websockets, warp, webdriver, websockets, zenc
1111, ghc, iproute, chromium, hashable, selenium-server-standalone, which, fontconfig
12+, semialign ? null
13+, splitThese ? (semialign != null)
1214}:
1315let addGcTestDepends = drv: if (stdenv.system != "x86_64-linux" || stdenv.hostPlatform != stdenv.buildPlatform || (ghc.isGhcjs or false)) then drv else drv // {
1416 # The headless browser run as part of gc tests would hang/crash without this
@@ -34,9 +36,8 @@ in mkDerivation (addGcTestDepends {
3436 jsaddle keycode lens monad-control mtl network-uri primitive random
3537 ref-tf reflex semigroups stm template-haskell text these
3638 transformers unix zenc
37− ] ++ (if ghc.isGhcjs or false then [
38− hashable
39− ] else []);
39+ ] ++ (if ghc.isGhcjs or false then [ hashable ] else [])
40+ ++ (if splitThese then [ semialign ] else []);
4041
4142 #TODO: Get hlint working for cross-compilation
4243 doCheck = stdenv.hostPlatform == stdenv.buildPlatform && !(ghc.isGhcjs or false);