@@ -7,11 +7,12 @@
77, transformers-compat, unbounded-delays, prim-uniq
88, data-default, filepath, directory, filemanip, ghcjs-base
99, monoidal-containers, witherable
10+, semialign ? null, splitThese ? true
1011, useTemplateHaskell ? true
1112}:
1213mkDerivation {
1314 pname = "reflex";
14− version = "0.6.2.1";
15+ version = "0.6.2.2";
1516 src = builtins.filterSource (path: type: !(builtins.elem (baseNameOf path) [ ".git" "dist" ])) ./.;
1617 libraryHaskellDepends = [
1718 base bifunctors containers dependent-map dependent-sum
@@ -26,13 +27,15 @@ mkDerivation {
2627 ghcjs-base
2728 ] else []) ++ (if !useTemplateHaskell then [] else [
2829 haskell-src-exts haskell-src-meta
29− ]);
30+ ]) ++ (if splitThese then [
31+ semialign
32+ ] else []);
3033 testHaskellDepends = if ghc.isGhcjs or false then [] else [
3134 hlint filepath directory filemanip
3235 ];
33− configureFlags = if useTemplateHaskell then [] else [
34− "-f-use-template-haskell"
35− ];
36+ configureFlags =
37+ stdenv.lib.optional (!useTemplateHaskell) [ "-f-use-template-haskell" ] ++
38+ stdenv.lib.optional (!splitThese) [ "-f-split-these" ];
3639 homepage = "https://github.com/reflex-frp/reflex";
3740 description = "Higher-order Functional Reactive Programming";
3841 license = stdenv.lib.licenses.bsd3;