on develop help sign in
Skip "variations" in release.nix
5775668John Ericson
release.nix+23−31
@@ -17,39 +17,31 @@ let
17 ] ++ lib.optionals (reflex-platform.iosSupport) [
17 ] ++ lib.optionals (reflex-platform.iosSupport) [
18 "ghcIosAarch64"
18 "ghcIosAarch64"
19 ];
19 ];
20− variations = map (v: "reflex-dom" + v) [
21− ""
22− ];
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"
33− ".git"
29+ ".git"
34− "dist"
30+ "dist"
35− ])) ./.;
31+ ])) ./.;
36− };
32+ };
37− })
33+ })
38− ];
34+ ];
39− };
35+ };
40− all = {
36+ all = {
41− inherit (reflex-platform.${ghc})
37+ inherit (reflex-platform.${ghc})
42− reflex-dom-core
38+ reflex-dom-core
43− reflex-dom
39+ reflex-dom
44− ;
40+ ;
45− };
46− in all // {
47− cache = reflex-platform.pinBuildInputs "reflex-${system}-${ghc}-${variation}"
48− (builtins.attrValues all);
49− });
41+ };
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);
53 });
45 });
54 in compilerPkgs // {
46 in compilerPkgs // {
55 cache = reflex-platform.pinBuildInputs "reflex-${system}"
47 cache = reflex-platform.pinBuildInputs "reflex-${system}"