mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
weather: Delete duplicate entries coming from '--manifest'.
* guix/scripts/weather.scm (load-manifest): Call 'delete-duplicates'.
This commit is contained in:
@@ -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
Block a user