@@ -7,11 +7,12 @@
7, transformers-compat, unbounded-delays, prim-uniq
7, transformers-compat, unbounded-delays, prim-uniq
8, data-default, filepath, directory, filemanip, ghcjs-base
8, data-default, filepath, directory, filemanip, ghcjs-base
9, monoidal-containers, witherable
9, monoidal-containers, witherable
10+, semialign ? null, splitThese ? true
10, useTemplateHaskell ? true
11, useTemplateHaskell ? true
12mkDerivation {
13mkDerivation {
13 pname = "reflex";
14 pname = "reflex";
14− version = "0.6.2.1";
15+ version = "0.6.2.2";
15 src = builtins.filterSource (path: type: !(builtins.elem (baseNameOf path) [ ".git" "dist" ])) ./.;
16 src = builtins.filterSource (path: type: !(builtins.elem (baseNameOf path) [ ".git" "dist" ])) ./.;
16 libraryHaskellDepends = [
17 libraryHaskellDepends = [
17 base bifunctors containers dependent-map dependent-sum
18 base bifunctors containers dependent-map dependent-sum
@@ -26,13 +27,15 @@ mkDerivation {
26 ghcjs-base
27 ghcjs-base
27 ] else []) ++ (if !useTemplateHaskell then [] else [
28 ] else []) ++ (if !useTemplateHaskell then [] else [
28 haskell-src-exts haskell-src-meta
29 haskell-src-exts haskell-src-meta
29− ]);
30+ ]) ++ (if splitThese then [
30 testHaskellDepends = if ghc.isGhcjs or false then [] else [
33 testHaskellDepends = if ghc.isGhcjs or false then [] else [
31 hlint filepath directory filemanip
34 hlint filepath directory filemanip
33− configureFlags = if useTemplateHaskell then [] else [
36+ configureFlags =
34− "-f-use-template-haskell"
37+ stdenv.lib.optional (!useTemplateHaskell) [ "-f-use-template-haskell" ] ++
35− ];
38+ stdenv.lib.optional (!splitThese) [ "-f-split-these" ];
36 homepage = "https://github.com/reflex-frp/reflex";
39 homepage = "https://github.com/reflex-frp/reflex";
37 description = "Higher-order Functional Reactive Programming";
40 description = "Higher-order Functional Reactive Programming";
38 license = stdenv.lib.licenses.bsd3;
41 license = stdenv.lib.licenses.bsd3;