weather: Delete duplicate entries coming from '--manifest'.
* guix/scripts/weather.scm (load-manifest): Call 'delete-duplicates'.master
parent
bab1f340b3
commit
1ae7a9251b
|
@ -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?)))
|
||||
|
||||
|
||||
;;;
|
||||
|
|
Reference in New Issue