I have a project with a stack.yaml at the root, and .cabal in first level directories.
Eventhough I made the code compile for GHC8.2.2, and followed exactly the instructions found in help to use it with stack:
MBAir-de-Olivier:hs.hamazed Olivier$ ./packunused --help
packunused 0.1.2 (using Cabal 2.0.1.1)
(...)
For stack: stack clean
stack build --ghc-options=-ddump-minimal-imports
packunused
I have this error when running:
*ERROR* package not properly configured yet or not in top-level CABAL project folder; see --help for more details
This is the repo I am trying to analyze : https://github.com/OlivierSohn/hamazed/tree/8ddbaa6f7d45a24344e4d5e5ce273ea6ddff1cf8
I have a project with a stack.yaml at the root, and .cabal in first level directories.
Eventhough I made the code compile for GHC8.2.2, and followed exactly the instructions found in help to use it with stack:
MBAir-de-Olivier:hs.hamazed Olivier$ ./packunused --help packunused 0.1.2 (using Cabal 2.0.1.1) (...) For stack: stack clean stack build --ghc-options=-ddump-minimal-imports packunusedI have this error when running:
This is the repo I am trying to analyze : https://github.com/OlivierSohn/hamazed/tree/8ddbaa6f7d45a24344e4d5e5ce273ea6ddff1cf8