-
Notifications
You must be signed in to change notification settings - Fork 718
Open
Labels
Description
Lifted from @mouse07410 's comment:
@athas, could we please get a complete migration guide to XDG?
We currently have:
- https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.10.1.0.md#significant-changes
- https://cabal.readthedocs.io/en/3.10/config.html#directories
I would like the table that @mouse07410 requested:
Legacy | XDG |
---|---|
~/.cabal/config |
~/.config/cabal/config |
~/.cabal/bin |
~/.local/bin |
~/.cabal/store |
~/.local/state/cabal/store (?) |
~/.cabal/lib |
? |
~/.cabal/share |
? |
~/.cabal/packages |
? |
Also, the docs talk about variables like XDG_CONFIG_HOME
but not what their value would be on different systems. E.g. on macOS, these variables seem undefined:
$ echo $XDG_CONFIG_HOME
$
N.B.: I would also be good to get some advice what to cache in CI. E.g. the whole ~/.local/state/cabal
or just ~/.local/state/cabal/store
(considering that the previous advice was to cache /.cabal/store
).
mouse07410