me
/
guix
Archived
1
0
Fork 0

weather: Delete duplicate entries coming from '--manifest'.

* guix/scripts/weather.scm (load-manifest): Call 'delete-duplicates'.
master
Ludovic Courtès 2020-04-14 15:19:51 +02:00
parent bab1f340b3
commit 1ae7a9251b
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 2 deletions

View File

@ -339,8 +339,9 @@ Report the availability of substitutes.\n"))
"Load the manifest from FILE and return the list of packages it refers to."
(let* ((user-module (make-user-module '((guix profiles) (gnu))))
(manifest (load* file user-module)))
(map manifest-entry-item
(manifest-transitive-entries manifest))))
(delete-duplicates (map manifest-entry-item
(manifest-transitive-entries manifest))
eq?)))
;;;