domenkozar / hie-nix

Nix packages for Haskell IDE Engine
115 stars 18 forks source link

Wrap each hie executable with the ghc it was built with #39

Open ixmatus opened 5 years ago

ixmatus commented 5 years ago

This change wraps each HIE executable with the GHC version it was built with so that the HIE server can run without a globally installed GHC.

domenkozar commented 5 years ago

Does it need GHC executable to work?

ixmatus commented 5 years ago

@domenkozar yes.

teto commented 5 years ago

isn't that a nixpkgs task ? It caused me problems for other haskell problems and the python ecosystem does wrap binaries.

domenkozar commented 5 years ago

Nixpkgs doesn't know when GHC has to be available at runtime.

@ixmatus any chance to wrap this up? :)

ixmatus commented 5 years ago

@domenkozar I might be able to get to it this weekend. I don't use HIE anymore because the emacs integration seems pretty busted for me ATM and I haven't invested any time in figuring out why.