From 566b674164cb845cc04b2d8928140a29825f035b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Vask=C3=B3?= Date: Sun, 27 Sep 2020 12:28:18 +0200 Subject: [PATCH] gccEmacs: add runtime writable eln cache location --- nix-integration.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix-integration.patch b/nix-integration.patch index 649e4e1..e3007b7 100644 --- a/nix-integration.patch +++ b/nix-integration.patch @@ -26,11 +26,12 @@ index c8cfb0495..d8ed107bd 100644 "Directory for volatile local storage. Use this for files that change often, like cache files. Must end with a slash.") -@@ -276,7 +276,7 @@ config.el instead." +@@ -276,7 +276,8 @@ config.el instead." ;; Don't store eln files in ~/.emacs.d/eln-cache (they are likely to be purged ;; when upgrading Doom). (when (boundp 'comp-eln-load-path) - (add-to-list 'comp-eln-load-path (concat doom-cache-dir "eln/"))) ++ (add-to-list 'comp-eln-load-path (concat doom-cache-dir "eln/")) + (add-to-list 'comp-eln-load-path (concat doom-local-dir "cache/eln/"))) (after! comp