-
Notifications
You must be signed in to change notification settings - Fork 206
Package hie
binaries
#1068
Comments
HIE is packed for nix already. It could be useful to look at that to see what wrappers are needed and so on - https://github.com/domenkozar/hie-nix |
For arch linux users: |
I have tried to analyze this situation. A standalone-binary distribution faces the issue that there are many runtime dependencies. Some of them cannot be easily provided by a binary-distribution. Having I have done:
Conclusion
I would be interested in what the nix package does to mitigate these problems but I have not the experience with nix so I cannot find out how they do it |
I think it would be great (necessary?) to have windows precompiled binaries, too. AFAIK it is easier to maintain cause they usually work across different windows versions, without worry about dynamic linking. |
Is there a way that I can help with this? I'm on Windows so I can help with the Windows and the Linux version (I use WSL also) |
@NickSeagull trying to package your local install and use in another machine, then document what or why it does not work would be of great help |
It seems there is another runtime dependency involving brittany, is worth create a new issue @fendor? |
@jneira I spoke with @lspitzner on IRC last night, and I think he is planning on exposing an API where we pass the parsed AST from |
I think include binaries in releases still worth, although we are starting to move to haskell-language-server. @alanz Is there some update about the brittany change? can i help in some way? |
@jneira I attempted to use |
I don't know the current state of brittany, but I am pretty sure @lspitzner exposed the required API shortly after we discussed it. Then all we have to do is pass in the already-loaded typechecked (or parsed) module and we are good to go. We can ignore all the stuff about context, libdirs, etc |
We (archlinuxcn) are providing prebuilt binaries for Arch Linux. |
@poscat0x04 wow that are great news, could we add that way to get binaries in the docs? |
Sure. I forgot to mention that packages are placed under https://repo.archlinuxcn.org/x86_64/ . |
@poscat0x04 Are the binaries expected to work other OS like debian/ubuntu? (Update: Nope)
|
I would like to package the
hie
binaries with some linux package managers (maybe starting with by distribution archlinux and put the packagehaskell-ide-engine-bin
on theaur
)I am not quite sure what is needed for a correct build of
hie
. Could it be that it is necessary to:hie-*
to$PATH
hie-wrapper
to$PATH
cabal-helper-wrapper
to$PATH
The text was updated successfully, but these errors were encountered: