From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 67895@debbugs.gnu.org
Cc: ludo@gnu.org, ngraves@ngraves.fr
Subject: [bug#67895] [PATCH] build-system/composer: Do not try to delete-duplicates.
Date: Tue, 19 Dec 2023 10:08:47 +0100 [thread overview]
Message-ID: <20231219090848.13042-1-ngraves@ngraves.fr> (raw)
* 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
next reply other threads:[~2023-12-19 9:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-19 9:08 Nicolas Graves via Guix-patches via [this message]
2024-07-12 16:10 ` bug#67895: [PATCH] build-system/composer: Do not try to delete-duplicates jgart via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231219090848.13042-1-ngraves@ngraves.fr \
--to=guix-patches@gnu.org \
--cc=67895@debbugs.gnu.org \
--cc=ludo@gnu.org \
--cc=ngraves@ngraves.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).