Skip to content

Add cabal freeze flag -w --with-compiler #2245

Closed

Description

@lspitzner

Currently freeze neither respects a configured option nor allows setting it.
Actually i found no way to freeze with a custom compiler version.

I just noticed this when testing which commands exactly get affected by configure; i do not currently need this functionality.

See related issues (asking for -w for other commands): #2177 #2242

Activity

  1. added this to the milestone on Apr 24, 2015
  2. modified the milestones: cabal-install 1.24, on Feb 21, 2016
  3. modified the milestone: cabal-install 2.0 on Sep 6, 2016
  4. hvr commented on Nov 5, 2018

    @hvr
    Member

    NB: v2-freeze supports this already

  5. andreasabel commented on Apr 21, 2021

    @andreasabel
    Member

    There should be one freeze file per GHC version (like there is a build directory per GHC version in v2-cabal). Currently there is a single cabal.project.freeze.

    Otherwise, freeze does not work as expected in a multi-GHC environment, and whether -w is supported is then rather irrelevant.

  6. fgaz commented on May 3, 2021

    @fgaz
    Member

    I'll close this since -w is implemented in v2-freeze, and allowing one freeze file per GHC version is tracked in #7367

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions