aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix/import/crate.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/import/crate.scm b/guix/import/crate.scm
index 57823c3639..0b4482e876 100644
--- a/guix/import/crate.scm
+++ b/guix/import/crate.scm
@@ -112,7 +112,7 @@ record or #f if it was not found."
(url (string-append (%crate-base-url) path)))
(match (assoc-ref (or (json-fetch url) '()) "dependencies")
((? vector? vector)
- (map json->crate-dependency (vector->list vector)))
+ (delete-duplicates (map json->crate-dependency (vector->list vector))))
(_
'()))))