hackage2nix: keep the old version of refinery around for haskell-language-server

This commit is contained in:
Peter Simons 2021-04-09 20:29:31 +02:00
parent b78820de3f
commit 98f3f2f651
3 changed files with 27 additions and 9 deletions

View File

@ -1423,7 +1423,7 @@ self: super: {
# 2021-03-09: Golden tests seem to be missing in hackage release:
# https://github.com/haskell/haskell-language-server/issues/1536
hls-tactics-plugin = dontCheck super.hls-tactics-plugin;
hls-tactics-plugin = dontCheck (super.hls-tactics-plugin.override { refinery = self.refinery_0_3_0_0; });
# 2021-03-24: hlint 3.3 is for ghc 9 compat, but hls only supports ghc 8.10
hls-hlint-plugin = super.hls-hlint-plugin.override {

View File

@ -2769,10 +2769,12 @@ default-package-overrides:
- zydiskell ==0.2.0.0
extra-packages:
- base16-bytestring < 1 # required for cabal-install etc.
- Cabal == 2.2.* # required for jailbreak-cabal etc.
- Cabal == 2.4.* # required for cabal-install etc.
- Cabal == 3.2.* # required for cabal-install etc.
- base16-bytestring < 1 # required for cabal-install etc.
- dependent-map == 0.2.4.0 # required by Hasura 1.3.1, 2020-08-20
- dependent-sum == 0.4 # required by Hasura 1.3.1, 2020-08-20
- dhall == 1.29.0 # required for ats-pkg
- 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
@ -2781,15 +2783,14 @@ extra-packages:
- haddock-library ==1.7.* # required by stylish-cabal-0.5.0.0
- happy == 1.19.9 # for purescript
- hinotify == 0.3.9 # for xmonad-0.26: https://github.com/kolmodin/hinotify/issues/29
- resolv == 0.1.1.2 # required to build cabal-install-3.0.0.0 with pre ghc-8.8.x
- immortal == 0.2.2.1 # required by Hasura 1.3.1, 2020-08-20
- dependent-map == 0.2.4.0 # required by Hasura 1.3.1, 2020-08-20
- dependent-sum == 0.4 # required by Hasura 1.3.1, 2020-08-20
- network == 2.6.3.1 # required by pkgs/games/hedgewars/default.nix, 2020-11-15
- mmorph == 1.1.3 # Newest working version of mmorph on ghc 8.6.5. needed for hls
- hlint < 3.3 # We dont have ghc-lib-parser 9.0.X yet.
- optparse-applicative < 0.16 # needed for niv-0.2.19
- immortal == 0.2.2.1 # required by Hasura 1.3.1, 2020-08-20
- lsp-test < 0.14 # needed for hls 1.0.0
- mmorph == 1.1.3 # Newest working version of mmorph on ghc 8.6.5. needed for hls
- network == 2.6.3.1 # required by pkgs/games/hedgewars/default.nix, 2020-11-15
- optparse-applicative < 0.16 # needed for niv-0.2.19
- refinery == 0.3.* # required by hls-tactics-plugin-1.0.0.0
- resolv == 0.1.1.2 # required to build cabal-install-3.0.0.0 with pre ghc-8.8.x
package-maintainers:
peti:

View File

@ -220134,6 +220134,23 @@ self: {
broken = true;
}) {};
"refinery_0_3_0_0" = callPackage
({ mkDerivation, base, checkers, exceptions, hspec, logict, mmorph
, mtl, QuickCheck
}:
mkDerivation {
pname = "refinery";
version = "0.3.0.0";
sha256 = "1bsbnxf75prw153c3k02jk84h3sravdi1c1sl75c7sx4xq81qhlp";
libraryHaskellDepends = [ base exceptions logict mmorph mtl ];
testHaskellDepends = [
base checkers exceptions hspec logict mmorph mtl QuickCheck
];
description = "Toolkit for building proof automation systems";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
}) {};
"refinery" = callPackage
({ mkDerivation, base, checkers, exceptions, hspec, mmorph, mtl
, QuickCheck