mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05:00
.dir-locals.el: Allow Guix root-dir overrides when working via Tramp.
* .dir-localsl.el: Add only the local part of the root directory to the guile search path. This lets you use Tramp to hack on a remote Guix checkout. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
4775460ba9
commit
cedf97ed6e
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@
|
|||
;; Hence the following "when", which might otherwise be unnecessary;
|
||||
;; it prevents causing an error when root-dir-unexpanded is nil.
|
||||
(when root-dir-unexpanded
|
||||
(let* ((root-dir (expand-file-name root-dir-unexpanded))
|
||||
(let* ((root-dir (file-local-name (expand-file-name root-dir-unexpanded)))
|
||||
;; Workaround for bug https://issues.guix.gnu.org/43818.
|
||||
(root-dir* (directory-file-name root-dir)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue