summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
Diffstat (limited to 'guix')
-rw-r--r--guix/ui.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/guix/ui.scm b/guix/ui.scm
index c141880316..4bad00e8cf 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -983,8 +983,9 @@ WIDTH columns. EXTRA-FIELDS is a list of symbol/value pairs to emit."
(if (> width 2) (- width 2) width))
(define (dependencies->recutils packages)
- (let ((list (string-join (map package-full-name
- (sort packages package<?)) " ")))
+ (let ((list (string-join (delete-duplicates
+ (map package-full-name
+ (sort packages package<?))) " ")))
(string->recutils
(fill-paragraph list width*
(string-length "dependencies: ")))))