-
Notifications
You must be signed in to change notification settings - Fork 17
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
Fix #19 #20
base: main
Are you sure you want to change the base?
Fix #19 #20
Conversation
This fixes aristanetworks#19 by downgrading the compiler to 8.10 (I still don't think 9.0 should be used in production). bytestring < 0.11.4 (which as of today has not been released to https://hackage.haskell.org/package/bytestring), is broken, as per haskell/bytestring#538. This in turn shows up in yesodweb/wai#894, and ultimately causes aristanetworks#19.
This will now use bytestring-0.10.12.0 instead of bytestring-0.11.3.1 |
Ok. This does not work, it did work in my shell because I had a newer cabal-install. However this change allows cabal2nix to parse it, but the |
This is now a very ugly hack that breaks macOS, but works on linux. I would not have expected me to break macOS. |
# use cabal2nix from 9.2 here, because cabal2nix from 8.10 can't | ||
# read cabal-version: 3.6 | ||
pkgsNew.haskell.packages.ghc92.cabal2nix; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you still need this change if you downgrade the required Cabal version to 2.2?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@angerman What do you think? I do not think this would be required.
This fixes #19 by downgrading the compiler to 8.10 (I still don't think 9.0 should be used in production). bytestring < 0.11.4 (which as of today has not been released to https://hackage.haskell.org/package/bytestring), is broken, as per haskell/bytestring#538. This in turn shows up in yesodweb/wai#894, and ultimately causes #19.