aboutsummaryrefslogtreecommitdiff
path: root/guix/build/utils.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-02-04 09:48:39 -0600
committerEric Bavier <bavier@member.fsf.org>2015-02-10 13:31:56 -0600
commitd5b3de6af276c1ade22a946b16d36b6077a06ab8 (patch)
treebc8ac1dd4c40d3299dd15c6d4ac40d7d38e5f162 /guix/build/utils.scm
parentce7155d5dd3552af7b2ef49aca34b2b807880226 (diff)
downloadgnu-guix-d5b3de6af276c1ade22a946b16d36b6077a06ab8.tar
gnu-guix-d5b3de6af276c1ade22a946b16d36b6077a06ab8.tar.gz
utils: Strip duplicates from search path.
* guix/build/utils.scm (search-path-as-list): Delete duplicate input directories before searching.
Diffstat (limited to 'guix/build/utils.scm')
-rw-r--r--guix/build/utils.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build/utils.scm b/guix/build/utils.scm
index 4407f9af23..c7fdd1d553 100644
--- a/guix/build/utils.scm
+++ b/guix/build/utils.scm
@@ -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))