Skip to content

cabal freeze should take current set of packages installed into account #2520

@gracjan

Description

@gracjan

Scenario:

  1. Update list of packages in my-package.cabal.
  2. Use cabal install --only-dep
  3. Use cabal configure
  4. Use cabal build
  5. Make sure it compiles and works as expected.
  6. Run cabal freeze to freeze this particular set of versions as working set of packages.

Expected:

In 6 cabal freeze freezes versions that were used during build in 5.

Current:

In 6 cabal freeze freezes some other set of packages somehow not exactly related to what was build.

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