fmthoma/vgrep

Build failure with Cabal-3.0.0.0

Closed this issue · 1 comments

Due to nkpart/cabal-file-th#10.

It seems that cabal-file-th is used only to access the package name and version:

vgrep/app/Main.hs

Lines 82 to 83 in a5c3aa5

let version = $(packageVariable (pkgVersion . package))
name = $(packageVariable (pkgName . package))

At least the version could alternatively be accessed via the Paths_vgrep module. The name could possibly be hardcoded?!

Thanks for the hint with Paths_vgrep!