me
/
guix
Archived
1
0
Fork 0

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>
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
1 changed files with 5 additions and 7 deletions

View File

@ -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