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 <jgart@dismail.de>
This commit is contained in:
Nicolas Graves 2023-12-19 10:08:47 +01:00 committed by jgart
parent 050565f4b6
commit e24d9a36f2
No known key found for this signature in database
GPG Key ID: A52AA2B477B6DD35

View File

@ -191,13 +191,11 @@ $loader->register();
(cons* (string-join (string-split key #\\) "\\\\") (cons* (string-join (string-split key #\\) "\\\\")
(append-map (lambda (v) (list vendor v)) vals))))) (append-map (lambda (v) (list vendor v)) vals)))))
(_ (format #t ""))) (_ (format #t "")))
(delete-duplicates
(append (append
(composer-autoload-psr-4 autoload) (composer-autoload-psr-4 autoload)
(if (and dev-dependencies? (not (null? autoload-dev))) (if (and dev-dependencies? (not (null? autoload-dev)))
(composer-autoload-psr-4 autoload-dev) (composer-autoload-psr-4 autoload-dev)
'())) '())))
'()))
(for-each (for-each
(lambda (psr0) (lambda (psr0)
(match psr0 (match psr0