packunused icon indicating copy to clipboard operation
packunused copied to clipboard

look in stack's work directory for import files

Open dmwit opened this issue 10 years ago • 3 comments

It looks like stack build --ghc-options -ddump-minimal-imports puts GHC's output in a different directory than cabal build --blah-blah-blah. It would be nice if packunused knew how to look in that spot, too, so that it could be used out of the box with stack.

dmwit avatar Oct 06 '15 02:10 dmwit

(See specifically http://stackoverflow.com/q/32959393/791604 for details on where stack puts the imports files.)

dmwit avatar Oct 06 '15 02:10 dmwit

patches welcome! :-)

(I don't use Stack myself, so I have to rely on contributions)

hvr avatar Oct 06 '15 09:10 hvr

+1

Also @hvr you should try Stack. You'll love it, it's really good. :smile:

begriffs avatar Nov 30 '15 06:11 begriffs