Skip to content

Does not support ~ in paths in .cabal/config #645

Closed

Description

@bos

(Imported from Trac #652, reported by @nomeata on 2010-04-03)

This feature request was submitted via the Debian Bugtracker at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576303:

Paths in ~/.cabal/config don't seem to support ~ or any other means of
specifying $HOME. This makes it difficult to specify paths like prefix, build-summary, and remote-repo-cache in a non-system-specific way.

Greetings,
Joachim

Activity

  1. bos commented on May 24, 2012

    @bos
    ContributorAuthor

    (Imported comment by @kosmikus on 2010-04-03)

    Related to #822.

  2. ntc2 commented on Jan 26, 2016

    @ntc2

    This seems to effectively stop me from versioning my ~/.cabal/config and sharing it across all systems I use, without creating a duplicate for every system on which I have a different user name. Of course, I only have three user names, so duplication is not very difficult, just ugly.

  3. lspitzner commented on Jan 27, 2016

    @lspitzner
    Collaborator

    have not touched the code yet, but modifying initialPathTemplateEnv in Cabal:Distribution.Simple.InstallDirs might be the approach. (semi note-to-self)

  4. Mikolaj commented on Jun 25, 2021

    @Mikolaj
    Member

    Duplicate of #1857

  5. Mikolaj commented on Jun 25, 2021

    @Mikolaj
    Member

    Also, this is related to #680 that is now being worked on, so I'm taking the liberty to close it to focus the discussion in two places instead of ten.

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

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions