diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-06-10 14:52:55 +0200 |
---|---|---|
committer | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-06-10 15:30:13 +0200 |
commit | c145f7930df909d583fe6d7fc862ff963a095f7a (patch) | |
tree | 1371460773ae8370807ea341a2004fa674ada982 /pkgs/development/haskell-modules/configuration-hackage2nix | |
parent | 35a73693f4132b5bc135bd650b8b03d6a08cd774 (diff) | |
download | nixpkgs-c145f7930df909d583fe6d7fc862ff963a095f7a.tar nixpkgs-c145f7930df909d583fe6d7fc862ff963a095f7a.tar.gz nixpkgs-c145f7930df909d583fe6d7fc862ff963a095f7a.tar.bz2 nixpkgs-c145f7930df909d583fe6d7fc862ff963a095f7a.tar.lz nixpkgs-c145f7930df909d583fe6d7fc862ff963a095f7a.tar.xz nixpkgs-c145f7930df909d583fe6d7fc862ff963a095f7a.tar.zst nixpkgs-c145f7930df909d583fe6d7fc862ff963a095f7a.zip |
haskellPackages.hackage-db: downgrade to 2.1.0 if Cabal < 3.4
Stackage Nighly recently upgraded their version of hackage-db from 2.1.0 to 2.1.1. 2.1.1 had a compatibility fix for Cabal 3.4 [1]. However it did not increase the version bound on Cabal nor fails to compile with Cabal 3.2, so Stackage was able to update it. Unfortunately hackage-db with Cabal 3.2 causes observable issues [2] in cabal2nix, so we need to downgrade it for all compilers that still ship a Cabal version < 3.4. Also ideally we should update the constraints for hackage-db 2.1.0 and hackage-db 2.1.1 on hackage. See also [3]. [1]: https://github.com/peti/hackage-db/pull/12 [2]: https://github.com/NixOS/cabal2nix/issues/501 [3]: https://github.com/peti/hackage-db/pull/14
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-hackage2nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml index 02739f83c4e..3dc1a40c9de 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml @@ -125,6 +125,7 @@ extra-packages: - gi-gtk < 4.0 # 2021-05-07: For haskell-gi 0.25 without gtk4 - gi-gdkx11 == 3.0.11 # 2021-05-07: For haskell-gi 0.25 without gtk4 - ShellCheck == 0.7.1 # 2021-05-09: haskell-ci 0.12.1 pins this version + - hackage-db < 2.1.1 # 2021-06-10: Need older hackage-db as long as Cabal < 3.4, see https://github.com/NixOS/cabal2nix/issues/501 package-maintainers: abbradar: |