1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 08:01:14 +00:00

spago: fix build by specifying older version of dhall

This commit is contained in:
(cdep)illabout 2021-02-02 17:42:20 +09:00 committed by Peter Simons
parent 103c5f4d9f
commit f076ff3503
2 changed files with 5 additions and 2 deletions

View file

@ -2694,7 +2694,8 @@ default-package-overrides:
extra-packages:
- Cabal == 2.2.* # required for jailbreak-cabal etc.
- Cabal == 2.4.* # required for cabal-install etc.
- dhall == 1.29.0 # required for spago 0.14.0.
- dhall == 1.29.0 # required for ats-pkg
- dhall == 1.37.1 # required for spago 0.19.0.
- Diff < 0.4 # required by liquidhaskell-0.8.10.2: https://github.com/ucsd-progsys/liquidhaskell/issues/1729
- ghc-tcplugins-extra ==0.3.2 # required for polysemy-plugin 0.2.5.0
- haddock == 2.23.* # required on GHC < 8.10.x

View file

@ -659,7 +659,9 @@ self: super: builtins.intersectAttrs super {
let
# spago requires an older version of megaparsec, but it appears to work
# fine with newer versions.
spagoWithOverrides = doJailbreak super.spago;
spagoWithOverrides = doJailbreak (super.spago.override {
dhall = self.dhall_1_37_1;
});
# This defines the version of the purescript-docs-search release we are using.
# This is defined in the src/Spago/Prelude.hs file in the spago source.