-
-
Notifications
You must be signed in to change notification settings - Fork 387
Calling cabal build in nix-shell fails #294
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
Comments
Not sure why it's building the ghcide tests, but should be fixable with a constraint bump in ghcide |
I haven't used cabal in forever since I've been using stack so I'm not sure what you meant. I just removed the tests from the cabal file for now and it's building 😅 Edit: nevermind, I had set --allow-newer in some config file. New error is:
I'll have to relearn cabal dependency fixing later today 😄 |
It looks like stack build also failed for me:
and following it's instructions results in the probably unsurprising to you guys:
|
I suspect that this is a user error, someone has forgotten to run To prevent the Nix shell from actually breaking, it would be great to add a Nix CI job. |
Edit: to erase any doubt in my or others minds... maybe this works:
That'd be awesome! I might be able to help here. I was trying to figure out how to fit this method using cachix into the current build process. I use it for my "hci" or glorified emacs configuration CI and it's pretty snappy even though I include X11/xfvb-run. |
That submodule update did make a difference though, as the error message no longer references ghcide 0.1.0. Now for good measure please do a |
|
Have you deleted the I wouldn't be asking all these questions if I wasn't positive that the |
That was with a clean working directory on 7cdbf8c. |
Gives error:
Building with stack in the meantime and will report if that's an adequate workaround for the time being.
The text was updated successfully, but these errors were encountered: