From a86a2b3f2951a6d22018bee6ae84fc70e949df4d Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sun, 16 May 2021 16:49:17 -0700 Subject: DATA.ASDF: stop setting output translations Our custom output translation was becoming part of the global ASDF configuration, changing where certain .fasl files were being saved. Signed-off-by: Sean Whitton --- src/data/asdf.lisp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/data/asdf.lisp b/src/data/asdf.lisp index 67d405c..5db7c7a 100644 --- a/src/data/asdf.lisp +++ b/src/data/asdf.lisp @@ -40,17 +40,8 @@ (defun get-path-to-concatenated-system (iden1 system) "Try to concatenate all the source code for SYSTEM, store it somewhere and return the filename." - (let ((cache-dir (ensure-directory-pathname - (strcat (or (getenv "XDG_CACHE_HOME") - (strcat (getenv "HOME") "/.cache")) - "/consfigurator/systems"))) - (op 'asdf:monolithic-concatenate-source-op) + (let ((op 'asdf:monolithic-concatenate-source-op) (co (asdf:find-component system nil))) - (ensure-directories-exist cache-dir) - (asdf:initialize-output-translations `(:output-translations - (t ,cache-dir) - :disable-cache - :ignore-inherited-configuration)) (asdf:operate op co) (make-instance 'file-data :file (asdf:output-file op co) :mime "text/plain" -- cgit v1.2.3