Fix TH splicing builds in CI
`haskell-overlays/splices-load-save/load-splices.nix` in reflex-platform uses
the name of the package to pull out the splices. But we have two packages both
with the package name "reflex". This hack makes the TH one have the `reflex`
attribute name, so we splice with TH.
Gross, but gets the job done.
commita5f07e8ebad39d958f89143f9d207f2412906be1
authorJohn Ericson <John.Ericson@Obsidian.Systems>
dateMon 9 Dec 2019, 18:54 (7 years ago)
parente4d9549
release.nix+3−3
@@ -20,12 +20,12 @@ let
2020 hsPkgs = lib.genAttrs compilers (ghc: let
2121 ghc' = reflex-platform.${ghc}.override {
2222 overrides = self: super: {
23− reflex-useTemplateHaskell = self.callPackage ./. { useTemplateHaskell = true; };
24− reflex = self.callPackage ./. { useTemplateHaskell = false; };
23+ reflex-dontUseTemplateHaskell = self.callPackage ./. { useTemplateHaskell = false; };
24+ reflex = self.callPackage ./. { useTemplateHaskell = true; };
2525 };
2626 };
2727 in {
28− inherit (ghc') reflex reflex-useTemplateHaskell;
28+ inherit (ghc') reflex reflex-dontUseTemplateHaskell;
2929 });
3030 in hsPkgs // {
3131 cache = reflex-platform.pinBuildInputs "reflex-${system}"