packunused icon indicating copy to clipboard operation
packunused copied to clipboard

False positve for executable

Open nomeata opened this issue 10 years ago • 2 comments

Hi,

packunused looks great! Unfortunately, it gives me false positives: For arbtt-0.9.0.2 it reports the aeson dependency of the first executable arbtt-capture as redundant, but I cannot build without it.

Thanks, Joachim

nomeata avatar Apr 04 '15 21:04 nomeata

Just to piggy-back on this -- I have a cabal project with 1 executable and 1 test suite. For some reason packunused reports that just about all my build-depends packages are redundant.

thomasjm avatar May 15 '15 18:05 thomasjm

Same here, packunused marks lots and lots of packages as redundant, when they're really not. Just a random thought: Does it properly search also through the additional files imported by the main file, or does it just take the file under 'main-is'?

stschiff avatar Jun 04 '15 06:06 stschiff