packunused
packunused copied to clipboard
look in stack's work directory for import files
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.
(See specifically http://stackoverflow.com/q/32959393/791604 for details on where stack puts the imports files.)
patches welcome! :-)
(I don't use Stack myself, so I have to rely on contributions)
+1
Also @hvr you should try Stack. You'll love it, it's really good. :smile: