diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | cabal-helper.cabal | 4 | ||||
-rw-r--r-- | src/CabalHelper/Shared/InterfaceTypes.hs | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -18,7 +18,7 @@ version of Cabal was used to write the on disk information for a given project. If this version of Cabal is not available on the users machine anymore, which is fairly likely since cabal-install is usually linked statically, we have support for compiling the Cabal library also. In this case the library is installed into -a private, isolated, package database in `$XDG_CACHE_DIR/cabal-helper` so as to +a private, isolated, package database in `$XDG_CACHE_HOME/cabal-helper` so as to not interfere with the user's package database. ## IRC diff --git a/cabal-helper.cabal b/cabal-helper.cabal index 79a67a0..a39b715 100644 --- a/cabal-helper.cabal +++ b/cabal-helper.cabal @@ -22,8 +22,8 @@ description: which is fairly likely since cabal-install is usually linked statically, we have support for compiling the Cabal library also. In this case the library is installed into a private, isolated, package database in - @$XDG_CACHE_DIR/cabal-helper@ so as to not interfere with the user's package - database. + @$XDG_CACHE_HOME/cabal-helper@ so as to not interfere with the user's + package database. license: AGPL-3 license-file: LICENSE license-files: LICENSE LICENSE.cabal-dependency-licenses diff --git a/src/CabalHelper/Shared/InterfaceTypes.hs b/src/CabalHelper/Shared/InterfaceTypes.hs index 2f2e6a3..bff0f56 100644 --- a/src/CabalHelper/Shared/InterfaceTypes.hs +++ b/src/CabalHelper/Shared/InterfaceTypes.hs @@ -25,7 +25,7 @@ executable, using Show/Read. If any types in this module change the major version must be bumped since this will be exposed in the @Distribution.Helper@ module. -The cached executables in @$XDG_CACHE_DIR/cabal-helper@ use the cabal-helper +The cached executables in @$XDG_CACHE_HOME/cabal-helper@ use the cabal-helper version (among other things) as a cache key so we don't need to worry about talking to an old executable. -} |