mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
weather: Delete duplicate entries coming from '--manifest'.
* guix/scripts/weather.scm (load-manifest): Call 'delete-duplicates'.
This commit is contained in:
parent
bab1f340b3
commit
1ae7a9251b
1 changed files with 3 additions and 2 deletions
|
|
@ -339,8 +339,9 @@ Report the availability of substitutes.\n"))
|
||||||
"Load the manifest from FILE and return the list of packages it refers to."
|
"Load the manifest from FILE and return the list of packages it refers to."
|
||||||
(let* ((user-module (make-user-module '((guix profiles) (gnu))))
|
(let* ((user-module (make-user-module '((guix profiles) (gnu))))
|
||||||
(manifest (load* file user-module)))
|
(manifest (load* file user-module)))
|
||||||
(map manifest-entry-item
|
(delete-duplicates (map manifest-entry-item
|
||||||
(manifest-transitive-entries manifest))))
|
(manifest-transitive-entries manifest))
|
||||||
|
eq?)))
|
||||||
|
|
||||||
|
|
||||||
;;;
|
;;;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue