You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
have not touched the code yet, but modifying initialPathTemplateEnv in Cabal:Distribution.Simple.InstallDirs might be the approach. (semi note-to-self)
Activity
bos commentedon May 24, 2012
(Imported comment by @kosmikus on 2010-04-03)
Related to #822.
ntc2 commentedon 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 commentedon Jan 27, 2016
have not touched the code yet, but modifying
initialPathTemplateEnvinCabal:Distribution.Simple.InstallDirsmight be the approach. (semi note-to-self)Mikolaj commentedon Jun 25, 2021
Duplicate of #1857
.cabal/config: support xdg home variables #1857Mikolaj commentedon 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.