$ cabal unpack base-compat-0.11.2
$ cd base-compat-0.11.2
$ cabal build -w ghc-9.2
Build profile: -w ghc-9.2.0.20210821 -O1
In order, the following will be built (use -v for more details):
- base-compat-0.11.2 (lib) (first run)
Preprocessing library for base-compat-0.11.2..
Building library for base-compat-0.11.2..
[ 63 of 118] Compiling Data.Semigroup.Compat ( src/Data/Semigroup/Compat.hs, /private/tmp/base-compat-0.11.2/dist-newstyle/build/x86_64-osx/ghc-9.2.0.20210821/base-compat-0.11.2/build/Data/Semigroup/Compat.o, /private/tmp/base-compat-0.11.2/dist-newstyle/build/x86_64-osx/ghc-9.2.0.20210821/base-compat-0.11.2/build/Data/Semigroup/Compat.dyn_o )
src/Data/Semigroup/Compat.hs:25:5: error:
Not in scope: type constructor or class ‘Option’
|
25 | , Option(..)
| ^^^^^^^^^^
src/Data/Semigroup/Compat.hs:26:5: error: Not in scope: ‘option’
|
26 | , option
| ^^^^^^