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

Update haskell.nix and HLS #3030

Merged
merged 4 commits into from
Dec 2, 2021
Merged

Update haskell.nix and HLS #3030

merged 4 commits into from
Dec 2, 2021

Conversation

Anviking
Copy link
Member

@Anviking Anviking commented Nov 22, 2021

  • Bump haskell.nix
  • Update Haskell Language Server to 1.5.0.0 in build-tools.nix
  • Bump index-state in cabal.project.

Comments

  • Build got stuck locally; trying in CI

  • Seems to build fine, but HLS doesn't seem updated (when I tried changing manually, it was reverted by the automatic nix regeneration)

  • Hydra jobset

Issue Number

None

@Anviking Anviking self-assigned this Nov 22, 2021
@Anviking
Copy link
Member Author

Closing for now

@Anviking Anviking closed this Nov 30, 2021
@rvl
Copy link
Contributor

rvl commented Dec 1, 2021

This is what I got when trying to run nix-shell locally:

trace: ERROR: cabal configure failed with:
Warning: The package list for 'hackage.haskell.org-at-2021-10-05T000000Z' is
18954 days old.
Run 'cabal update' to get the latest list of available packages.
Warning: Requested index-state 2021-10-05T00:00:00Z is newer than
'hackage.haskell.org-at-2021-10-05T000000Z'! Falling back to older state
(2021-10-04T22:59:49Z).
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: haskell-language-server-1.5.0.0 (user goal)
[__1] trying: haskell-language-server:+eval
[__2] next goal: hls-eval-plugin (dependency of haskell-language-server +eval)
[__2] rejecting: hls-eval-plugin-1.1.2.0, hls-eval-plugin-1.1.1.0,
hls-eval-plugin-1.1.0.0, hls-eval-plugin-1.0.0.0, hls-eval-plugin-0.2.0.0,
hls-eval-plugin-0.1.0.5, hls-eval-plugin-0.1.0.4, hls-eval-plugin-0.1.0.3,
hls-eval-plugin-0.1.0.2, hls-eval-plugin-0.1.0.1, hls-eval-plugin-0.1.0.0
(conflict: haskell-language-server +eval => hls-eval-plugin^>=1.2.0.0)
[__2] fail (backjumping, conflict set: haskell-language-server,
hls-eval-plugin, haskell-language-server:eval)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: haskell-language-server,
haskell-language-server:eval, hls-eval-plugin

On Hydra, the same error appears as:

{UNKNOWN}: Died at /nix/store/7r3z8n7a7v62rq1linayx1q4z2kvnf2i-hydra-0.1.20211118.79b8a89/bin/.hydra-eval-jobset-wrapped line 784. at /nix/store/aa6gw57fnahd4824pbhmvcs0jlypmynq-hydra-perl-deps/lib/perl5/site_perl/5.32.1/Catalyst/Model/DBIC/Schema.pm line 526

@rvl
Copy link
Contributor

rvl commented Dec 1, 2021

Let's try again with latest Hackage and index-state.

@rvl rvl reopened this Dec 1, 2021
@rvl rvl force-pushed the anviking/bump-HLS branch from abb4677 to ed559be Compare December 1, 2021 21:24
@rvl rvl force-pushed the anviking/bump-HLS branch from 24cd3bb to 3fde5cf Compare December 1, 2021 21:41
@rvl rvl marked this pull request as ready for review December 1, 2021 21:42
Copy link
Contributor

@rvl rvl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not all finished building yet, but with the index-state change, hls 1.5 seems to work at least, when building locally.

haskell-language-server version: 1.5.0.0 (GHC: 8.10.7) (PATH: /nix/store/pgzd2bzrlpa4fd473x974say97gwkzz3-haskell-language-server-exe-haskell-language-server-1.5.0.0/bin/haskell-language-server)

@rvl
Copy link
Contributor

rvl commented Dec 2, 2021

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Dec 2, 2021

Build succeeded:

@iohk-bors iohk-bors bot merged commit fa3b34e into master Dec 2, 2021
@iohk-bors iohk-bors bot deleted the anviking/bump-HLS branch December 2, 2021 09:02
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

Successfully merging this pull request may close these issues.

2 participants