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
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ (define* (search-path-as-list files input-dirs
|
|||
(list file)
|
||||
'())))))
|
||||
files))
|
||||
input-dirs))
|
||||
(delete-duplicates input-dirs)))
|
||||
|
||||
(define (list->search-path-as-string lst separator)
|
||||
(string-join lst separator))
|
||||
|
|
Loading…
Reference in a new issue