Building 3.4.0.9 from tarball using cabal v2-build ats-pkg --happy-options='-gcsa' --alex-options='-g' fails with the following error:
[1 of 1] Compiling Development.Shake.C ( src/Development/Shake/C.hs, /atspkg-3.4.0.9/dist-newstyle/build/x86_64-linux/ghc-8.8.3/shake-c-0.4.3.0/opt/build/Development/Shake/C.o )
src/Development/Shake/C.hs:42:1: error: [-Wdodgy-imports, -Werror=dodgy-imports]
Module ‘Development.Shake’ does not export ‘(*>)’
|
42 | import Development.Shake hiding ((*>))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Current work around is to add --ghc-options="-fno-warn-dodgy-imports"
Building
3.4.0.9from tarball usingcabal v2-build ats-pkg --happy-options='-gcsa' --alex-options='-g'fails with the following error:Current work around is to add
--ghc-options="-fno-warn-dodgy-imports"