Closed
Description
HLint's EmbedData.hs uses embedFile
to load data/hlint.yaml
at compile time. embedFile
registers the file as a dependency via qAddDependentFile
.
When hlint.yaml
is modified, and if at least one source hs file is also modified, then cabal correctly rebuilds EmbedData.
However, if we only modify hlint.yaml
itself, then cabal v2-build
simply prints Up to date
and terminates, without building EmbedData.
Environment: GHC 8.10.7, Cabal 3.6.2.0
Metadata
Metadata
Assignees
Labels
No labels