mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
guix: Delete duplicates from emacs-load-path.
It has been reported in IRC, that directories may show up multiple times in subdirs.el, probably a result of propagation. This can for instance be seen by ‘guix environment --ad-hoc emacs emacs-guix’, which will generate multiple references to dash. With this patch only one reference per package is generated. * guix/profiles.scm (emacs-subdirs): wrap subdirs added to ‘normal-top-level-add-to-load-path’ in ‘delete-duplictes’.
This commit is contained in:
parent
e3e4cbb93f
commit
0f2a17de06
1 changed files with 1 additions and 1 deletions
|
@ -1150,7 +1150,7 @@ (define build
|
|||
(lambda (port)
|
||||
(write
|
||||
`(normal-top-level-add-to-load-path
|
||||
(list ,@subdirs))
|
||||
(list ,@(delete-duplicates subdirs)))
|
||||
port)
|
||||
(newline port)
|
||||
#t)))))))
|
||||
|
|
Loading…
Reference in a new issue