Subject: [PATCH] build-system/composer: Do not try to delete-duplicates.

From: Nicolas Graves <[email-masked]>
Date: Tue, 19 Dec 2023 10:08:47 +0100

* guix/build-system/composer.scm (create-autoload):
Do not use the delete-duplicates function, stale code that should have
been removed in an earlier cleanup.

Change-Id: I778c1cfba7ef8de16a1ba297b583595b391b7e00
---
 guix/build/composer-build-system.scm | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/guix/build/composer-build-system.scm b/guix/build/composer-build-system.scm
index 8896384e0a..8d7d43236e 100644
--- a/guix/build/composer-build-system.scm
+++ b/guix/build/composer-build-system.scm
@@ -191,13 +191,11 @@ (define* (create-autoload vendor composer-file inputs #:key dev-dependencies?)
                (cons* (string-join (string-split key #\\) "\\\\")
                       (append-map (lambda (v) (list vendor v)) vals)))))
            (_ (format #t "")))
-         (delete-duplicates
-          (append
-           (composer-autoload-psr-4 autoload)
-           (if (and dev-dependencies? (not (null? autoload-dev)))
-               (composer-autoload-psr-4 autoload-dev)
-               '()))
-          '()))
+         (append
+          (composer-autoload-psr-4 autoload)
+          (if (and dev-dependencies? (not (null? autoload-dev)))
+              (composer-autoload-psr-4 autoload-dev)
+              '())))
         (for-each
          (lambda (psr0)
            (match psr0
-- 
2.41.0