Skip to content

Don't overwrite build artefacts when switching ghc version #3011

Closed

Description

@edsko

We talked about this already, recording so we don't forget. Perhaps we ought to have some kind of "named profiles", so that build artefacts are stored in dist-newstyle/:profile/.... Currently it's very annoying that when i switch ghc version everything (local) gets overwritten.

Activity

  1. added
    cabal-install: v2-build system
    on Dec 29, 2015
  2. ezyang commented on Dec 29, 2015

    @ezyang
    Contributor

    As a workaround, you can manually get a named profile by changing the name of the dist directory (from dist-newstyle). I'm not sure if -builddir does the trick, but creating a new directory where its contents are symlinks to the other projects certainly does.

  3. ezyang commented on Aug 24, 2016

    @ezyang
    Contributor

    This is fixed in HEAD.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    cabal-install: v2-build system

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions