@@ -17,39 +17,31 @@ let
17 ] ++ lib.optionals (reflex-platform.iosSupport) [
17 ] ++ lib.optionals (reflex-platform.iosSupport) [
18 "ghcIosAarch64"
18 "ghcIosAarch64"
20− variations = map (v: "reflex-dom" + v) [
23 compilerPkgs = lib.genAttrs compilers (ghc: let
20 compilerPkgs = lib.genAttrs compilers (ghc: let
24− variationPkgs = lib.genAttrs variations (variation: let
25− reflex-platform = reflex-platform-fun {
21+ reflex-platform = reflex-platform-fun {
26− inherit system;
22+ inherit system;
27− haskellOverlays = [
23+ haskellOverlays = [
28− # Use this package's source for reflex
24+ # Use this package's source for reflex
29− (self: super: {
25+ (self: super: {
30− _dep = super._dep // {
26+ _dep = super._dep // {
31− reflex-dom = builtins.filterSource (path: type: !(builtins.elem (baseNameOf path) [
27+ reflex-dom = builtins.filterSource (path: type: !(builtins.elem (baseNameOf path) [
32− "release.nix"
28+ "release.nix"
41− inherit (reflex-platform.${ghc})
37+ inherit (reflex-platform.${ghc})
42− reflex-dom-core
38+ reflex-dom-core
43− reflex-dom
39+ reflex-dom
47− cache = reflex-platform.pinBuildInputs "reflex-${system}-${ghc}-${variation}"
48− (builtins.attrValues all);
50− in variationPkgs // {
42+ in all // {
51 cache = reflex-platform.pinBuildInputs "reflex-${system}-${ghc}"
43 cache = reflex-platform.pinBuildInputs "reflex-${system}-${ghc}"
52− (map (a: a.cache) (builtins.attrValues variationPkgs));
44+ (builtins.attrValues all);
54 in compilerPkgs // {
46 in compilerPkgs // {
55 cache = reflex-platform.pinBuildInputs "reflex-${system}"
47 cache = reflex-platform.pinBuildInputs "reflex-${system}"