mirror of
git://git.savannah.gnu.org/guix/data-service.git
synced 2023-12-14 03:23:03 +01:00
Delete duplicate entries in the package-entries list
This can happen when the same package is defined with two names, for example, with deprecated-package.
This commit is contained in:
parent
4619b7b575
commit
b1ab70a226
|
@ -100,7 +100,7 @@ WHERE packages.id IN (
|
|||
(filter (lambda (package-entry)
|
||||
(not (vhash-assoc package-entry
|
||||
existing-package-entry-ids)))
|
||||
package-entries))
|
||||
(delete-duplicates package-entries)))
|
||||
(new-package-entry-ids
|
||||
(if (null? missing-package-entries)
|
||||
'()
|
||||
|
|
Loading…
Reference in a new issue