lilyp pushed a commit to branch gnome-team
in repository guix.

commit e24d9a36f25c51cedf9a9d087edd5b0cf1896c03
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Dec 19 10:08:47 2023 +0100

    build-system/composer: Do not try to delete-duplicates.
    
    * 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
    Signed-off-by: jgart <[email protected]>
---
 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 @@ $loader->register();
                (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

Reply via email to