Skip to content

flags leaking across packages? #1

@kowey

Description

@kowey

I'm not entirely sure what's going on here, so apologies if this is coming across as vague, but I have a sources.txt that looks a bit like

. --enable-test
foo

In this particular scenario, the test suite for my current package and for foo have conflicting requirements (something to do with test-framework), and when I run "cabal-meta install", I run into problems because of those requirements.

Thing is, I don't want to build the test suite for foo (nor any of its dependencies, which is where I'm really getting the problem; particular dep in question being hashable and/or lifted-base). It seems to be the case that the --enable-test is leaking across to the build instructions for those packages. If I manually cabal install foo, everything is fine.

This making any sense? Hope I'm not just rambling incoherently :-)
Thanks for cabal-meta! It's going a pretty good job otherwise solving an immediate problem I have.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions