Skip to content

How can environment file get into invalid state? #8473

@tomjaguarpaw

Description

@tomjaguarpaw

A user was having trouble with cabal and posted his environment file to haskell-cafe. It contains entries for ghc-8.4.4 and directory-1.3.7.1, which are mutually incompatible. Therefore cabal stopped working. I assume the environment file got into this state just through running cabal install and/or cabal install --lib rather than manually editing the environment file or using any other tooling. That's what the thread suggests at least.

If it did get this way through cabal, how is that possible? Can cabal really create an environment file with mutually incompatible packages in it?

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