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

Not in scope: type variable 'a' #751

Closed
dmjio opened this issue May 23, 2019 · 7 comments
Closed

Not in scope: type variable 'a' #751

dmjio opened this issue May 23, 2019 · 7 comments

Comments

@dmjio
Copy link

dmjio commented May 23, 2019

Unsure if this has been resolved, nixpkgs-unstable and nixos-unstable are running into this issue when attempting to build ghc-api-ghcjs before ghcjs.

dist/build/Parser.hs:1473:48: error:
    Not in scope: type variable a
     |
1473 | newtype HappyWrap209 = HappyWrap209 (([Located a],Bool))
     |   ```
@dmjio
Copy link
Author

dmjio commented May 23, 2019

Using an older happy fixed this, cc @cocreature

@dmjio dmjio closed this as completed May 23, 2019
@matthewbauer
Copy link

I just noticed this with ghcHEAD as well:

https://hydra.nixos.org/build/93826143

Is there some extension needed here?

@cdsmith
Copy link

cdsmith commented Jun 1, 2019

@dmjio I'm running into this same problem. Which version of happy worked for you?

@dmjio
Copy link
Author

dmjio commented Jun 1, 2019

@cdsmith, ended up using 1.19.9 per @cocreature's advice.

 happy = dontCheck (super.callHackage "happy" "1.19.9" {});

made things "happy" for me.

@dmjio dmjio reopened this Jun 1, 2019
@matthewbauer
Copy link

@cdsmith
Copy link

cdsmith commented Jun 1, 2019

Thanks!

@dmjio
Copy link
Author

dmjio commented Jul 6, 2019

Think we're good here, please re-open if not.

@dmjio dmjio closed this as completed Jul 6, 2019
yorickvP added a commit to NixOS/nixfmt that referenced this issue Jul 25, 2019
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

3 participants