diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-02-04 09:48:39 -0600 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-02-10 13:31:56 -0600 |
commit | d5b3de6af276c1ade22a946b16d36b6077a06ab8 (patch) | |
tree | bc8ac1dd4c40d3299dd15c6d4ac40d7d38e5f162 | |
parent | ce7155d5dd3552af7b2ef49aca34b2b807880226 (diff) | |
download | guix-d5b3de6af276c1ade22a946b16d36b6077a06ab8.tar.gz |
utils: Strip duplicates from search path.
* guix/build/utils.scm (search-path-as-list): Delete duplicate input directories before searching.
-rw-r--r-- | guix/build/utils.scm | 2 |
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)) |