utils: Strip duplicates from search path.
* guix/build/utils.scm (search-path-as-list): Delete duplicate input directories before searching.
This commit is contained in:
parent
ce7155d5dd
commit
d5b3de6af2
|
@ -323,7 +323,7 @@ for under the directories designated by FILES. For example:
|
|||
(list file)
|
||||
'())))))
|
||||
files))
|
||||
input-dirs))
|
||||
(delete-duplicates input-dirs)))
|
||||
|
||||
(define (list->search-path-as-string lst separator)
|
||||
(string-join lst separator))
|
||||
|
|
Loading…
Reference in New Issue