Skip to content
This repository has been archived by the owner on Feb 13, 2021. It is now read-only.

Support GHC 8.8.3 #55

Closed
bhipple opened this issue Apr 5, 2020 · 8 comments
Closed

Support GHC 8.8.3 #55

bhipple opened this issue Apr 5, 2020 · 8 comments

Comments

@bhipple
Copy link

bhipple commented Apr 5, 2020

This is now the default on NixPkgs, but it looks like we only have 8.8.2.

I wasn't able to find instructions on precisely how to do this in the readme, but I tried doing this:

diff --git a/nixpkgsForGhc/ghc883 b/nixpkgsForGhc/ghc883
new file mode 100644
index 0000000..b4726a7
--- /dev/null
+++ b/nixpkgsForGhc/ghc883
@@ -0,0 +1 @@
+ca0cb2c43f8231fc8e13ef5f40aad40ddbf4a44b
\ No newline at end of file

and then running

  alias update="$(nix-build --no-out-link update.nix)/bin/update"
  update --name stable --revision 1.1

but it died with some stack errors.

@infinisil
Copy link
Owner

Can't support 8.8.3 without at least HIE itself supporting that version, which it currently doesn't.

@infinisil
Copy link
Owner

See #52 for the error when trying to run the update script

@kylegentle
Copy link

Lucky for us, it looks like 8.8.3 support was added today in HIE. ☺️

haskell/haskell-ide-engine#1697

@tofutim
Copy link

tofutim commented May 10, 2020

so... what's next?

@bhipple
Copy link
Author

bhipple commented May 10, 2020

A brave soul has to stare into the abyss of code-generated nix expressions and debug. It seems we have two paths forward:

A. Have someone take up maintainership of the now abandoned stack2nix generator and fix it, as done here, or

B. Switch to haskell.nix, as discussed here.

@Anton-Latukha
Copy link

From exp or measuring the probabilities - it is unreal that anyone would adopt and work on stack2nix up to a nice state. It always was half-working and half-going.
input-output-hk/stack2nix#171

It is a big risk to rely on stack2nix in technical projects, at this point.

haskell.nix advertises Stack support also, is also an IOHK creation, team is large and respectable, development is flowing.

@infinisil
Copy link
Owner

See #19 (comment) and future comments for updates on haskell.nix builds

@infinisil infinisil mentioned this issue Jul 25, 2020
3 tasks
@infinisil
Copy link
Owner

With #64 merged, 8.6.5 and 8.8.3 are now the only two supported versions, so I can finally close this :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants