on iko/ghcjs-patch-master help sign in
Fix #1507 by running postBuild hook in setup build (#1519)

* Includes very temporary work around for CI issue

commit1eaa396e9c6a74dc0e0c7a01c4f0b477c66503f3 authorHamish Mackenzie <Hamish.K.Mackenzie@gmail.com> dateTue 21 Jun 2022, 15:38 (4 years ago) parent5ea1196
2 files changed+11−1
builder/setup-builder.nix+1−1 overlays/hackage-quirks.nix+10
builder/setup-builder.nix+1−1
@@ -82,7 +82,7 @@ let
8282 fi
8383 done
8484 [ -f ./Setup ] || (echo Failed to build Setup && exit 1)
85− runHook preBuild
85+ runHook postBuild
8686 '';
8787
8888 installPhase = ''
overlays/hackage-quirks.nix+10
@@ -25,6 +25,16 @@ in { haskell-nix = prev.haskell-nix // {
2525 ];
2626 };
2727
28+ # TODO remove this when `dependent-sum-0.7.1.0` constraint on `some` has been updated.
29+ # See https://github.com/haskell/haskell-language-server/issues/2969
30+ # and https://github.com/obsidiansystems/dependent-sum/issues/71
31+ haskell-language-server = {
32+ cabalProject = ''
33+ packages: .
34+ constraints: dependent-sum >=0.7.1.0
35+ '';
36+ };
37+
2838 lsp-test = {
2939 cabalProject = ''
3040 packages: .