proto3-suite icon indicating copy to clipboard operation
proto3-suite copied to clipboard

The canonicalize-proto-file executable does not build with ghc-9.2

Open TristanCacqueray opened this issue 3 years ago • 3 comments
trafficstars

The build fails with:

Building executable 'canonicalize-proto-file' for proto3-suite-0.5.0..
[1 of 1] Compiling Main             ( tools/canonicalize-proto-file/Main.hs, dist/build/canonicalize-proto-file/canonicalize-proto-file-tmp/Main.o )

tools/canonicalize-proto-file/Main.hs:20:61: error:
    Module ‘Data.Semigroup’ does not export ‘Option(..)’
   |
20 | import           Data.Semigroup                   (Min(..), Option(..))

TristanCacqueray avatar Apr 09 '22 11:04 TristanCacqueray

Fix is up here: https://github.com/awakesecurity/proto3-suite/pull/193

Gabriella439 avatar Apr 11 '22 22:04 Gabriella439

For what its worth, I'm testing the PRs for ghc-9.2 in this nixpkgs overlay: https://github.com/change-metrics/monocle/pull/864 . And with #193, proto3-suite now builds. Thanks!

TristanCacqueray avatar Apr 11 '22 22:04 TristanCacqueray

You're welcome!

Gabriella439 avatar Apr 11 '22 22:04 Gabriella439