nix-serve-ng
nix-serve-ng copied to clipboard
Fix #19
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.
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 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
This is now a very ugly hack that breaks macOS, but works on linux. I would not have expected me to break macOS.