From dbde386ee315a88503980bc40095765288f15d0a Mon Sep 17 00:00:00 2001 From: 宋文武 Date: Sun, 2 Jul 2017 13:14:16 +0800 Subject: ui: package->recutlis: Remove duplicated package names in dependencies. * guix/ui.scm (package->recutils): Add call to 'delete-duplicates' in 'dependencies->recutils'. --- guix/ui.scm | 5 +++-- 1 file 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 packagerecutils (fill-paragraph list width* (string-length "dependencies: "))))) -- cgit v1.2.3