Skip to content

By default, new-build should freeze the Hackage index revision, so "cabal update" does not cause rebuilds #3832

Closed
@jaccokrijnen

Description

@jaccokrijnen

See #3832 (comment) for how to avoid user confusion.

Original report below.

Not sure if this is expected behaviour, I am new-building leksah after running a cabal update. It seems to be installing many of my dependencies again and duplicating them in the global database (probably having a different hash?) ghc-pkg gives me this for example:

ghc-7.10.3/package.db/ | grep gi-soup
    gi-soup-2.4.6
    gi-soup-2.4.6

I'm not sure how I can reproduce this to see what caused it, because the build plan is now dependent on the hackage index right?

By the way, shouldn't there be hashes in the package id's? This is with cabal 1.24.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions