Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
bos opened this issue May 24, 2012 · 5 comments
Closed

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

bos opened this issue May 24, 2012 · 5 comments

Comments

@bos
Copy link
Contributor

bos commented May 24, 2012

(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

@bos
Copy link
Contributor Author

bos commented May 24, 2012

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

Related to #822.

@ntc2
Copy link

ntc2 commented Jan 26, 2016

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.

@lspitzner
Copy link
Collaborator

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

@Mikolaj
Copy link
Member

Mikolaj commented Jun 25, 2021

Duplicate of #1857

@Mikolaj Mikolaj marked this as a duplicate of #1857 Jun 25, 2021
@Mikolaj
Copy link
Member

Mikolaj commented Jun 25, 2021

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.

@Mikolaj Mikolaj closed this as completed Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants