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
haskellPackages.haskell-language-server: 027fq67 -> 15hyscf #106705
Conversation
cc @maralorn and @GuillaumeDesforges (I think?) |
First of all thank you very much for your work. I really appreciate it. The problem here is this: It is my understanding, that it is the aim of nixpkgs to primarily support released packages. In special cases we can also bump versions to unreleased versions, but for that we need a good reason. Such as
hls has a healthy monthly release cycle and the current version of hls seems fine. So unless you can give me a good reason I don‘t think we should bump it randomly in between. That being said,
So my suggestion is:
Alternatively I wouldn’t mind merging this earlier and have it tested by hydra for good measure. But for that I‘d wait at least for some live sign in the #haskell-ide-engine channel, that they intend to do an update very soon. |
Code wise I can‘t find any fault in this. |
Agree with all of that! I should have been clearer I didn't have an intention of having this merged asap. It was more that I made the change and though it might be useful for whoever bumps to the next HLS release. Happy for any of the proposed actions. |
One more thing of course … hls right now doesn‘t build on hydra, because there is a build problem with ghcide. Nothing very complicated to fix but something we need to do before we can test this. |
Maybe you can rebase this, so we can test if it build? |
Fix the update script to include hls-explicit-imports-plugin and hls-retrhls-retrie-plugin
rebased! |
|
Guess it needs a newer hie-bios?
…On Wed, Dec 16, 2020, 11:38 PM maralorn ***@***.***> wrote:
Building library for haskell-language-server-0.6.0.0..
[1 of 4] Compiling Paths_haskell_language_server ( dist/build/autogen/Paths_haskell_language_server.hs, dist/build/Paths_haskell_language_server.o, dist/build/Paths_haskell_language_server.dyn_o )
[2 of 4] Compiling Ide.Version ( src/Ide/Version.hs, dist/build/Ide/Version.o, dist/build/Ide/Version.dyn_o )
[3 of 4] Compiling Ide.Arguments ( src/Ide/Arguments.hs, dist/build/Ide/Arguments.o, dist/build/Ide/Arguments.dyn_o )
[4 of 4] Compiling Ide.Main ( src/Ide/Main.hs, dist/build/Ide/Main.o, dist/build/Ide/Main.dyn_o )
src/Ide/Main.hs:161:25: error:
Ambiguous occurrence ‘findCradle’
It could refer to
either ‘Development.IDE.Session.findCradle’,
imported from ‘Development.IDE.Session’ at src/Ide/Main.hs:37:1-30
or ‘HIE.Bios.Cradle.findCradle’,
imported from ‘HIE.Bios.Cradle’ at src/Ide/Main.hs:42:1-22
|
161 | cradles <- mapM findCradle files
| ^^^^^^^^^^
builder for '/nix/store/dws54bzzjpbn5vk1g5njkpdk0ymsvwqj-haskell-language-server-0.6.0.0.drv' failed with exit code 1
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#106705 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGRJXEYHMQN2FI75VNP55DSVDH73ANCNFSM4UXUBHDQ>
.
|
Also:
|
Closed in favor of #107078 |
Fix the update script to include hls-explicit-imports-plugin and hls-retrie-plugin
Motivation for this change
Not sure if this is an important update or not, but the change to
update.sh here might save the next person doing it some small amount of
work.
It should also be possible to drop the brittany fork too as the latest brittany release supports ghc 8.10.2.
update.sh could be improved too, it currently fetches the hls repo 5 times! (otoh, this is computer time and perhaps not worth valuable human time fixing)
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)