nix-serve-ng icon indicating copy to clipboard operation
nix-serve-ng copied to clipboard

Fix #19

Open angerman opened this issue 2 years ago • 3 comments

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.

angerman avatar Dec 07 '22 06:12 angerman

This will now use bytestring-0.10.12.0 instead of bytestring-0.11.3.1

angerman avatar Dec 07 '22 06:12 angerman

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 Setup.hs that's being built by the nixpkgs haskell infra, links against the lib:Cabal shipped with GHC, and as such is incompatible. With cabal-version: 3.6

angerman avatar Dec 07 '22 06:12 angerman

This is now a very ugly hack that breaks macOS, but works on linux. I would not have expected me to break macOS.

angerman avatar Dec 07 '22 07:12 angerman