Skip to content

Stack support for multiple cabal files #35

@OlivierSohn

Description

@OlivierSohn

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

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