on develop help sign in
Only do the GC test on x86_64 linux
7c48758Ryan Trinkle
reflex-dom-core/default.nix+7−4
@@ -7,7 +7,11 @@
7, transformers, unbounded-delays, unix, zenc, hashable, xvfb_run
7, transformers, unbounded-delays, unix, zenc, hashable, xvfb_run
8, chromium, process, jsaddle-warp
8, chromium, process, jsaddle-warp
9}:
9}:
10+let addGcTestDepends = drv: if stdenv.system != "x86_64-linux" then drv else drv // {
11+ testHaskellDepends = (drv.testHaskellDepends or []) ++ [ temporary jsaddle-warp process ];
12+ testSystemDepends = (drv.testSystemDepends or []) ++ [ xvfb_run chromium ];
13+ };
10−mkDerivation {
14+in mkDerivation (addGcTestDepends {
11 pname = "reflex-dom-core";
15 pname = "reflex-dom-core";
12 version = "0.4";
16 version = "0.4";
13 src = ./.;
17 src = ./.;
@@ -21,8 +25,7 @@ mkDerivation {
21 ] ++ (if ghc.isGhcjs or false then [
25 ] ++ (if ghc.isGhcjs or false then [
22 hashable
26 hashable
23 ] else []);
27 ] else []);
24− testHaskellDepends = [ base hlint temporary jsaddle-warp process ];
28+ testHaskellDepends = [ base hlint ];
25− testSystemDepends = [ xvfb_run chromium ];
26 description = "Functional Reactive Web Apps with Reflex";
29 description = "Functional Reactive Web Apps with Reflex";
27 license = stdenv.lib.licenses.bsd3;
30 license = stdenv.lib.licenses.bsd3;
28−}
31+})
reflex-dom-core/reflex-dom-core.cabal+2
@@ -140,6 +140,8 @@ test-suite gc
140 ghc-prof-options: -fprof-auto
140 ghc-prof-options: -fprof-auto
141 main-is: gc.hs
141 main-is: gc.hs
142 type: exitcode-stdio-1.0
142 type: exitcode-stdio-1.0
143+ if !os(linux) || !arch(x86_64)
144+ buildable: false
143
145
144source-repository head
146source-repository head
145 type: git
147 type: git