releaser
releaser copied to clipboard
Incompatibility with Cabal 3.6
Build error with ghc 9.4 during the ongoing nixpkgs update to LTS 21.
https://hydra.nixos.org/build/227407882/nixlog/2/tail
[1 of 1] Compiling Releaser.Primitives ( src/Releaser/Primitives.hs, dist/build/Releaser/Primitives.o, dist/build/Releaser/Primitives.dyn_o )
src/Releaser/Primitives.hs:77:32: error:
Variable not in scope:
readGenericPackageDescription
:: Distribution.Verbosity.Verbosity
-> FilePath
-> IO
Distribution.Types.GenericPackageDescription.GenericPackageDescription
Suggested fix:
Perhaps use ‘parseGenericPackageDescription’ (imported from Distribution.PackageDescription.Parsec)
|
77 | genericPackageDescription <- readGenericPackageDescription silent cabalFile
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This looks like an API change in Cabal.
I don’t know if you still use/are interested in this package. I am happy to fix this somehow in nixpkgs, if you like. I would also be fine to drop it, if you don’t care.