Closed MangoIV closed 1 month ago
Sounds like #302464. In that case that'd be a Cabal bug that's fixed in whatever GHC 9.10 ships.
@sternenseemann do I understand correctly that how it looks now there’s not going to be a haskellPackages with ghc 9.8? Because if plugins not work?
or just until 983?
https://gitlab.haskell.org/ghc/ghc/-/issues/24518
I think it’ll be blocked by this ticket and until 9.8.3
There will be a haskellPackages with 9.8 whenever there's a Stackage LTS with 9.8 usually.
@sternenseemann would there be a haskellPackages with broken plugin support?
Even if stackage LTS does the upgrade?
@MangoIV I don’t understand why you are pressing this point. This is a complicated issue and no one has made an executive decision about whether we skip 9.8 because of this. Generally switching ghcs is a lot of work. When we are at that point we will try it out and determine feasibility based on factors like how many packages it breaks. But this issue doesn’t sound like we can’t find a work around, does it?
Sorry if that got across the wrong way - for me it sounded like sterni was going to make the switch depend on when stackage does - I’d be concerned about this as this would break plugin support downstream which I think is prohibitive.
Well, in the last years there is no precedent for us to not follow stackage lts and it would probably hard to figure out an alternative. I am confident that we will be able to find a fix for this once it is required.
Let’s see - as I said, I suspect that stackage will not go to 9.8 until minor version 3 is out since stack is affected as well iiuc
Closing as duplicate https://github.com/NixOS/nixpkgs/issues/302464.
Describe the bug
when trying to build a library which depends on a plugin, the
installPhase
fails when callingSetup register
with the following problem:Steps To Reproduce
here's a reproducer, just run
nix build .#reproducer
https://github.com/MangoIV/nixpkgs-plugin-reproducerExpected behavior
two different possibilities:
Additional context
to the
installPhase
doesn't fix the issue, but improves the situation in thatcabal
will now die while complaining that the package that exposes the module is private.installPhase
that is problematicghc-options
stanza in the cabal fileNotify maintainers
@sternenseemann @maralorn
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.