Skip to content

stack.yaml package field pointing to *.*.cabal not found #895

@haroldcarr

Description

@haroldcarr

I added:

packages:
- '.'
- /Users/carr/openhc/test-hunit-util

but got:

> stack build
No .cabal file found in directory /Users/carr/openhc/test-hunit-util/

The cabal file in that location is named Test.HUnit.Util.cabal. If I rename the file to Test-HUnit-Util.cabal then it is found

(although, it then has other unrelated problems:

cabal file /Users/carr/openhc/test-hunit-util/Test-HUnit-Util.cabal has a mismatched package name: Test-HUnit-Util

)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions