-
Notifications
You must be signed in to change notification settings - Fork 238
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
inspection-testing fails to build with GHC 8.10.5 #1201
Comments
The error you get in the 9.0.1 case looks like the error from this issue #1177 I tried a version of the patch recommended there:
|
I just ran into this myself. The problem stems from #825 : I tried to patch |
PS: I think this is a good reason to strongly consider #1301 - This patch introduces changes which aren't required for haskell.nix to work but are causing breakage. Thus it would be great if patches like this weren't enabled by default. |
Hmm, actually I also encountered this, and was mystified. Yeah, messing with the types exposed by the |
It just looks like |
FTR i got everything to build using a fork that doesn’t apply the ubxt patches (as expected). |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
this is still an issue. |
inspection-testing
fails to build withhaskell.nix
when using GHC 8.10.5 and 8.10.4; it succeeds when building normally (cf. theinspection-testing
CI).I've verified that this happens with GHC 8.10.5 on the latest
haskell.nix
21.05 and unstable nixpkgs pins.To reproduce the failure, clone https://github.com/jkachmar/haskell-nix-inspection-testing-bug and build it with
nix build .
on a system that supports Nix Flakes.You should encounter the following error:
GHC 8.10.5 error
My only thought is that this is triggered by the unboxed tuples patch being applied to GHC 8.10.5, since
Tickish
is exported byCoreSyn
prior to GHC 9.0.1 and it looks like there's quite a bit of mucking around going on there.cf. https://github.com/input-output-hk/haskell.nix/blob/a5b74bf002bee3ee41012c8f5e48105150892eee/overlays/patches/ghc/ghc-8.10.5-ubxt.patch
Curiously it also seems to fail when compiling with GHC 9.0.1 using the unstable nixpkgs pin, but with a completely different error.
GHC 9.0.1 error
The text was updated successfully, but these errors were encountered: