-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
Request for new package: haskell-ide-engine #31697
Comments
@robinvd seems to have packaged Packaging it is not trivial because a number of packages / package versions is not on hackage, so we may need to consider all options to make installation easier:
It would be very nice to have |
@roberth i tried only putting only .nix files in the repo, but the repo has sub packages. When nix tries to build those the licence file is in ../LICENSE and nix does not accept that (since only the sub package is copied into the nix store). We would need a patch for coping the licence file and changing the .cabal files or make a pull request in the hie project
it was not difficult, for almost all my big haskell projects i make an out of tree nixpkgs like this one. I had to run cabal2nix on every subpackage. Only thing is they use specific versions of dependencies (in the stack file you can see this). So i had to make a nix file based on the specific commit. Does nixpkgs allow non newest package dependencies? I don't know if nixpkgs likes it if the tests are disabled, but multiple packages failed on the tests so i just wrapped everypackage in notest (also builds faster).
I like one of these options the best (or both). I can have a look at a patch for the license or make an issue at hie repo this weekend. I have no experiance with nixpkgs but would love to make a contribution to my daily OS that i use on all my devices. @romildo if you want to build it right now you can: clone my repo and build it with |
I can confirm that @robinvd's package works fine. |
It is not building on my unstable NixOS system:
|
i came across a newer version of the same we are trying to do: haskell/haskell-ide-engine#117 (comment). @romildo maybe this builds on unstable? |
Issue description
I would like to have
haskell-ide-engine
(HIE) added tonixpkgs
, but I fear I am not knowledgeable enough to add it myself.The Haskell IDE Engine is described in its home page by the following:
It is a requirement for Haskell development in Visual Studio Code using the extension Haskell Language Server, whose repository is Haskell Language Server Client.
The text was updated successfully, but these errors were encountered: