Some programs that once-upon-a-time were buildable with just something like this:
~/.ghcup/ghc/9.4.4/bin/ghc --make prog.hs
now fail with messages like this:
Could not load module ‘GHC.Compact’
It is a member of the hidden package ‘ghc-compact-0.1.0.0’.
You can run ‘:set -package ghc-compact’ to expose it.
Is :set -package ghc-compact
somethings that’s supposed to be on the command-line? Like:
~/.ghcup/ghc/9.4.4/bin/ghc --make :set -package ghc-compact prog.hs
Examples:
https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/binarytrees-ghc-8.html#log
https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/knucleotide-ghc-2.html#log