aboutsummaryrefslogtreecommitdiff
path: root/src/image.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-08-29 12:31:21 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-08-31 15:55:26 -0700
commit030fa324859eb5b3e7b539c6e1dcbbb3fac1db4c (patch)
tree0e8314faa3e16b20e9ecafd9ba42275d543d59d7 /src/image.lisp
parent2248ee00ede423fc55791259099cbf7d5f57fcdc (diff)
downloadconsfigurator-030fa324859eb5b3e7b539c6e1dcbbb3fac1db4c.tar.gz
use UIOP:XDG-CACHE-HOME
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/image.lisp')
-rw-r--r--src/image.lisp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/image.lisp b/src/image.lisp
index 8bc34b3..fc29179 100644
--- a/src/image.lisp
+++ b/src/image.lisp
@@ -327,9 +327,7 @@ ASDF-REQUIREMENTS, after having uploaded those Lisp systems using
UPLOAD-ALL-PREREQUISITE-DATA.")
(:method ((asdf-requirements asdf-requirements))
`(progn
- (let* ((cache (ensure-directory-pathname
- (or (getenv "XDG_CACHE_HOME")
- (strcat (getenv "HOME") "/.cache"))))
+ (let* ((cache (uiop:xdg-cache-home))
(dest (ensure-directories-exist
(merge-pathnames "consfigurator/systems/" cache)))
(file (merge-pathnames