Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure with GHC 9.4.1 #114

Closed
mitchellwrosen opened this issue Aug 11, 2022 · 7 comments
Closed

Build failure with GHC 9.4.1 #114

mitchellwrosen opened this issue Aug 11, 2022 · 7 comments

Comments

@mitchellwrosen
Copy link

src/Language/Haskell/GHC/ExactPrint/Orphans.hs:55:18: error:
    Not in scope: type constructor or class ‘AnnsLet’
   |
55 | instance Default AnnsLet where
   |                  ^^^^^^^
src/Language/Haskell/GHC/ExactPrint/Lookup.hs:19:3: warning: [-Wincomplete-patterns]
    Pattern match(es) are non-exhaustive
    In a case alternative:
        Patterns of type ‘AnnKeywordId’ not matched: AnnCases
   |
19 |   case kw of
   |   ^^^^^^^^^^...
@ndmitchell
Copy link

This is also blocking HLint from moving forward with GHC 9.4.1 - tracked at ndmitchell/hlint#1413

@shayne-fletcher
Copy link

also affects haskell-language-server (hlint plugin, quickfixes) it seems haskell/haskell-language-server#3146

@milloni
Copy link

milloni commented Sep 20, 2022

Hi, I've been trying to port ghc-exactpoint to GHC 9.4.1 and I was wondering if anyone is working on this already? I don't want to duplicate the effort

@alanz
Copy link
Owner

alanz commented Sep 20, 2022

Let me take a look

@milloni
Copy link

milloni commented Sep 21, 2022

@alanz I posted an early draft of the work so far here, if you want to take a look

https://github.com/milloni/ghc-exactprint/tree/milloni/ghc-9.4

@alanz
Copy link
Owner

alanz commented Sep 21, 2022

I just realised I actually did this work already in my https://github.com/alanz/ghc-exactprint/tree/ghc-9.4 branch.

I just spent some time getting the repo back into a state of having multiple source trees with common areas, in https://github.com/alanz/ghc-exactprint/tree/ghc-9.4.1

But my current ghc-9.4 branch can easily be compared to the GHC source tree utils/check-exact directory, and that comparison gets hard if there is a lot of CPP floating around.

So I will switch back to polishing my ghc-9.4 branch, and when it is published to hackage it will support only GHC 9.4.x, much lke apply-refact does now.

sternenseemann added a commit to lf-/nixpkgs that referenced this issue Oct 2, 2022
This change introduces some actual overrides in
configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of
getting a basic 9.4 package set up. In particular the following
“interesting” packages are working:

* hpack
* hoogle
* cabal2nix
* cabal-install

You can get a better overview by looking at the overrides and the
versionedCompilerJobs in release-haskell.nix. Next obvious steps would
be working towards basic HLS support, but it seems that basically none
of the plugins are working so far. Big blockers here:

* alanz/ghc-exactprint#114
* ndmitchell/hlint#1413
* haskell/haskell-language-server#3190

We ourselves have some churn to take care of and should try to release
the changes in NixOS/cabal2nix#571 soon.

Co-authored-by: Rebecca Turner <[email protected]>
Co-authored-by: sternenseemann <[email protected]>
sternenseemann added a commit to NixOS/nixpkgs that referenced this issue Oct 2, 2022
This change introduces some actual overrides in
configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of
getting a basic 9.4 package set up. In particular the following
“interesting” packages are working:

* hpack
* hoogle
* cabal2nix
* cabal-install

You can get a better overview by looking at the overrides and the
versionedCompilerJobs in release-haskell.nix. Next obvious steps would
be working towards basic HLS support, but it seems that basically none
of the plugins are working so far. Big blockers here:

* alanz/ghc-exactprint#114
* ndmitchell/hlint#1413
* haskell/haskell-language-server#3190

We ourselves have some churn to take care of and should try to release
the changes in NixOS/cabal2nix#571 soon.

Co-authored-by: Rebecca Turner <[email protected]>
Co-authored-by: sternenseemann <[email protected]>
j6carey pushed a commit to awakesecurity/nixpkgs that referenced this issue Sep 27, 2023
This change introduces some actual overrides in
configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of
getting a basic 9.4 package set up. In particular the following
“interesting” packages are working:

* hpack
* hoogle
* cabal2nix
* cabal-install

You can get a better overview by looking at the overrides and the
versionedCompilerJobs in release-haskell.nix. Next obvious steps would
be working towards basic HLS support, but it seems that basically none
of the plugins are working so far. Big blockers here:

* alanz/ghc-exactprint#114
* ndmitchell/hlint#1413
* haskell/haskell-language-server#3190

We ourselves have some churn to take care of and should try to release
the changes in NixOS/cabal2nix#571 soon.

Co-authored-by: Rebecca Turner <[email protected]>
Co-authored-by: sternenseemann <[email protected]>
j6carey pushed a commit to awakesecurity/nixpkgs that referenced this issue Nov 10, 2023
This change introduces some actual overrides in
configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of
getting a basic 9.4 package set up. In particular the following
“interesting” packages are working:

* hpack
* hoogle
* cabal2nix
* cabal-install

You can get a better overview by looking at the overrides and the
versionedCompilerJobs in release-haskell.nix. Next obvious steps would
be working towards basic HLS support, but it seems that basically none
of the plugins are working so far. Big blockers here:

* alanz/ghc-exactprint#114
* ndmitchell/hlint#1413
* haskell/haskell-language-server#3190

We ourselves have some churn to take care of and should try to release
the changes in NixOS/cabal2nix#571 soon.

Co-authored-by: Rebecca Turner <[email protected]>
Co-authored-by: sternenseemann <[email protected]>
jsoo1 pushed a commit to awakesecurity/nixpkgs that referenced this issue Nov 13, 2023
This change introduces some actual overrides in
configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of
getting a basic 9.4 package set up. In particular the following
“interesting” packages are working:

* hpack
* hoogle
* cabal2nix
* cabal-install

You can get a better overview by looking at the overrides and the
versionedCompilerJobs in release-haskell.nix. Next obvious steps would
be working towards basic HLS support, but it seems that basically none
of the plugins are working so far. Big blockers here:

* alanz/ghc-exactprint#114
* ndmitchell/hlint#1413
* haskell/haskell-language-server#3190

We ourselves have some churn to take care of and should try to release
the changes in NixOS/cabal2nix#571 soon.

Co-authored-by: Rebecca Turner <[email protected]>
Co-authored-by: sternenseemann <[email protected]>
@andreasabel
Copy link

Issue fixed? Close?

@alanz alanz closed this as completed Nov 20, 2023
j6carey pushed a commit to awakesecurity/nixpkgs that referenced this issue Dec 17, 2023
This change introduces some actual overrides in
configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of
getting a basic 9.4 package set up. In particular the following
“interesting” packages are working:

* hpack
* hoogle
* cabal2nix
* cabal-install

You can get a better overview by looking at the overrides and the
versionedCompilerJobs in release-haskell.nix. Next obvious steps would
be working towards basic HLS support, but it seems that basically none
of the plugins are working so far. Big blockers here:

* alanz/ghc-exactprint#114
* ndmitchell/hlint#1413
* haskell/haskell-language-server#3190

We ourselves have some churn to take care of and should try to release
the changes in NixOS/cabal2nix#571 soon.

Co-authored-by: Rebecca Turner <[email protected]>
Co-authored-by: sternenseemann <[email protected]>
jsoo1 pushed a commit to awakesecurity/nixpkgs that referenced this issue Dec 19, 2023
This change introduces some actual overrides in
configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of
getting a basic 9.4 package set up. In particular the following
“interesting” packages are working:

* hpack
* hoogle
* cabal2nix
* cabal-install

You can get a better overview by looking at the overrides and the
versionedCompilerJobs in release-haskell.nix. Next obvious steps would
be working towards basic HLS support, but it seems that basically none
of the plugins are working so far. Big blockers here:

* alanz/ghc-exactprint#114
* ndmitchell/hlint#1413
* haskell/haskell-language-server#3190

We ourselves have some churn to take care of and should try to release
the changes in NixOS/cabal2nix#571 soon.

Co-authored-by: Rebecca Turner <[email protected]>
Co-authored-by: sternenseemann <[email protected]>
jsoo1 pushed a commit to awakesecurity/nixpkgs that referenced this issue Dec 20, 2023
This change introduces some actual overrides in
configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of
getting a basic 9.4 package set up. In particular the following
“interesting” packages are working:

* hpack
* hoogle
* cabal2nix
* cabal-install

You can get a better overview by looking at the overrides and the
versionedCompilerJobs in release-haskell.nix. Next obvious steps would
be working towards basic HLS support, but it seems that basically none
of the plugins are working so far. Big blockers here:

* alanz/ghc-exactprint#114
* ndmitchell/hlint#1413
* haskell/haskell-language-server#3190

We ourselves have some churn to take care of and should try to release
the changes in NixOS/cabal2nix#571 soon.

Co-authored-by: Rebecca Turner <[email protected]>
Co-authored-by: sternenseemann <[email protected]>
jsoo1 pushed a commit to awakesecurity/nixpkgs that referenced this issue Dec 22, 2023
This change introduces some actual overrides in
configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of
getting a basic 9.4 package set up. In particular the following
“interesting” packages are working:

* hpack
* hoogle
* cabal2nix
* cabal-install

You can get a better overview by looking at the overrides and the
versionedCompilerJobs in release-haskell.nix. Next obvious steps would
be working towards basic HLS support, but it seems that basically none
of the plugins are working so far. Big blockers here:

* alanz/ghc-exactprint#114
* ndmitchell/hlint#1413
* haskell/haskell-language-server#3190

We ourselves have some churn to take care of and should try to release
the changes in NixOS/cabal2nix#571 soon.

Co-authored-by: Rebecca Turner <[email protected]>
Co-authored-by: sternenseemann <[email protected]>
jsoo1 pushed a commit to awakesecurity/nixpkgs that referenced this issue Jan 13, 2024
This change introduces some actual overrides in
configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of
getting a basic 9.4 package set up. In particular the following
“interesting” packages are working:

* hpack
* hoogle
* cabal2nix
* cabal-install

You can get a better overview by looking at the overrides and the
versionedCompilerJobs in release-haskell.nix. Next obvious steps would
be working towards basic HLS support, but it seems that basically none
of the plugins are working so far. Big blockers here:

* alanz/ghc-exactprint#114
* ndmitchell/hlint#1413
* haskell/haskell-language-server#3190

We ourselves have some churn to take care of and should try to release
the changes in NixOS/cabal2nix#571 soon.

Co-authored-by: Rebecca Turner <[email protected]>
Co-authored-by: sternenseemann <[email protected]>
tm-drtina pushed a commit to awakesecurity/nixpkgs that referenced this issue Feb 27, 2024
This change introduces some actual overrides in
configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of
getting a basic 9.4 package set up. In particular the following
“interesting” packages are working:

* hpack
* hoogle
* cabal2nix
* cabal-install

You can get a better overview by looking at the overrides and the
versionedCompilerJobs in release-haskell.nix. Next obvious steps would
be working towards basic HLS support, but it seems that basically none
of the plugins are working so far. Big blockers here:

* alanz/ghc-exactprint#114
* ndmitchell/hlint#1413
* haskell/haskell-language-server#3190

We ourselves have some churn to take care of and should try to release
the changes in NixOS/cabal2nix#571 soon.

Co-authored-by: Rebecca Turner <[email protected]>
Co-authored-by: sternenseemann <[email protected]>
tm-drtina pushed a commit to awakesecurity/nixpkgs that referenced this issue Apr 8, 2024
This change introduces some actual overrides in
configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of
getting a basic 9.4 package set up. In particular the following
“interesting” packages are working:

* hpack
* hoogle
* cabal2nix
* cabal-install

You can get a better overview by looking at the overrides and the
versionedCompilerJobs in release-haskell.nix. Next obvious steps would
be working towards basic HLS support, but it seems that basically none
of the plugins are working so far. Big blockers here:

* alanz/ghc-exactprint#114
* ndmitchell/hlint#1413
* haskell/haskell-language-server#3190

We ourselves have some churn to take care of and should try to release
the changes in NixOS/cabal2nix#571 soon.

Co-authored-by: Rebecca Turner <[email protected]>
Co-authored-by: sternenseemann <[email protected]>
tm-drtina pushed a commit to awakesecurity/nixpkgs that referenced this issue May 16, 2024
This change introduces some actual overrides in
configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of
getting a basic 9.4 package set up. In particular the following
“interesting” packages are working:

* hpack
* hoogle
* cabal2nix
* cabal-install

You can get a better overview by looking at the overrides and the
versionedCompilerJobs in release-haskell.nix. Next obvious steps would
be working towards basic HLS support, but it seems that basically none
of the plugins are working so far. Big blockers here:

* alanz/ghc-exactprint#114
* ndmitchell/hlint#1413
* haskell/haskell-language-server#3190

We ourselves have some churn to take care of and should try to release
the changes in NixOS/cabal2nix#571 soon.

Co-authored-by: Rebecca Turner <[email protected]>
Co-authored-by: sternenseemann <[email protected]>
tm-drtina pushed a commit to awakesecurity/nixpkgs that referenced this issue Jun 7, 2024
This change introduces some actual overrides in
configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of
getting a basic 9.4 package set up. In particular the following
“interesting” packages are working:

* hpack
* hoogle
* cabal2nix
* cabal-install

You can get a better overview by looking at the overrides and the
versionedCompilerJobs in release-haskell.nix. Next obvious steps would
be working towards basic HLS support, but it seems that basically none
of the plugins are working so far. Big blockers here:

* alanz/ghc-exactprint#114
* ndmitchell/hlint#1413
* haskell/haskell-language-server#3190

We ourselves have some churn to take care of and should try to release
the changes in NixOS/cabal2nix#571 soon.

Co-authored-by: Rebecca Turner <[email protected]>
Co-authored-by: sternenseemann <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants