From 976c953443bb61943333ee8d0e25aace1b84d42a Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Fri, 19 Jan 2018 15:41:40 +0100 Subject: Fix docs ..its called XDG_CACHE_HOME not XDG_CACHE_DIR. [skip ci] --- README.md | 2 +- cabal-helper.cabal | 4 ++-- src/CabalHelper/Shared/InterfaceTypes.hs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f096c46..a333d29 100644 --- a/README.md +++ b/README.md @@ -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. -} -- cgit v1.2.3