From d5b3de6af276c1ade22a946b16d36b6077a06ab8 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Wed, 4 Feb 2015 09:48:39 -0600 Subject: [PATCH] utils: Strip duplicates from search path. * guix/build/utils.scm (search-path-as-list): Delete duplicate input directories before searching. --- guix/build/utils.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))