You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is intended behavior: Hackage and cabal have inconsistent behavior around mismatching package/file names, and in stack we've decided to be consistent and enforce matching names. For details, see: #317
We can improve the first part about finding .cabal files with periods in them.
I've updated master with better code for displaying accurate error messages. Now, it says things like:
cabal file path /home/vagrant/Desktop/periods/foo.bar.cabal does not match the package name it defines.
Please rename the file to: periods.cabal
For more information, see: https://github.com/commercialhaskell/stack/issues/317
I added:
but got:
The cabal file in that location is named
Test.HUnit.Util.cabal
. If I rename the file toTest-HUnit-Util.cabal
then it is found(although, it then has other unrelated problems:
)
The text was updated successfully, but these errors were encountered: