I was able to package Carp for Fedora, with a catch.
Downloading ghc provided by stack errors on Fedora 36 (only). That'll get fixed as it gets updated, but I'd rather use the ghc version provided by Fedora.
So I tried compiling Carp 0.5.5 with ghc 9.2.4, and I get this error
[11 of 53] Compiling Obj
/var/home/varlad/Carp-0.5.5/src/Obj.hs:1011:10: error:
• No instance for (Eq Context)
arising from the superclasses of an instance declaration
• In the instance declaration for ‘Hashable Context’
|
1011 | instance Hashable Context where
| ^^^^^^^^^^^^^^^^
Completed 16 action(s).
-- While building package CarpHask-0.5.5.0 (scroll up to its section to see the error) using:
/home/username/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_3.6.3.0_ghc-9.2.4 --builddir=.stack-work/dist/x86_64-linux/Cabal-3.6.3.0 build lib:CarpHask exe:carp exe:carp-header-parse --ghc-options " -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
I was able to package Carp for Fedora, with a catch. Downloading ghc provided by stack errors on Fedora 36 (only). That'll get fixed as it gets updated, but I'd rather use the
ghc
version provided by Fedora. So I tried compiling Carp 0.5.5 with ghc 9.2.4, and I get this errorHere's my stack.yaml file