Received: (at submit) by debbugs.gnu.org; 19 Dec 2023 09:09:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 19 04:09:10 2023 Received: from localhost ([127.0.0.1]:34399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rFW6A-00051H-4r for submit <at> debbugs.gnu.org; Tue, 19 Dec 2023 04:09:10 -0500 Received: from lists.gnu.org ([2001:470:142::17]:55296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ngraves@HIDDEN>) id 1rFW67-00050j-NK for submit <at> debbugs.gnu.org; Tue, 19 Dec 2023 04:09:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ngraves@HIDDEN>) id 1rFW5z-0003mj-MM for guix-patches@HIDDEN; Tue, 19 Dec 2023 04:08:59 -0500 Received: from 7.mo560.mail-out.ovh.net ([188.165.48.182]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ngraves@HIDDEN>) id 1rFW5y-0006Pd-2Y for guix-patches@HIDDEN; Tue, 19 Dec 2023 04:08:59 -0500 Received: from director4.ghost.mail-out.ovh.net (unknown [10.108.17.154]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 2CCF52C233 for <guix-patches@HIDDEN>; Tue, 19 Dec 2023 09:08:54 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-zpf47 (unknown [10.110.178.126]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id DBF301FE64; Tue, 19 Dec 2023 09:08:53 +0000 (UTC) Received: from ngraves.fr ([37.59.142.106]) by ghost-submission-6684bf9d7b-zpf47 with ESMTPSA id yvz2MqVdgWXtMgAAom12ow (envelope-from <ngraves@HIDDEN>); Tue, 19 Dec 2023 09:08:53 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-106R006b74640e5-b7ef-4115-acf3-9b2997a8e00c, 0A183DEDD9F7D7733B4F13041BD52F66DC821FED) smtp.auth=ngraves@HIDDEN X-OVh-ClientIp: 81.67.140.142 From: Nicolas Graves <ngraves@HIDDEN> To: guix-patches@HIDDEN Subject: [PATCH] build-system/composer: Do not try to delete-duplicates. Date: Tue, 19 Dec 2023 10:08:47 +0100 Message-ID: <20231219090848.13042-1-ngraves@HIDDEN> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 6748081093695824605 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrvddutddgtdduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepkeffgeetfffgffejgeejvdffgfdtvdeuueetgfefuedvjeegvdegjeejveeuueevnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutdeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehguhhigidqphgrthgthhgvshesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeitddpmhhouggvpehsmhhtphhouhht Received-SPF: pass client-ip=188.165.48.182; envelope-from=ngraves@HIDDEN; helo=7.mo560.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: ludo@HIDDEN, ngraves@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) * 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
Nicolas Graves <ngraves@HIDDEN>
:guix-patches@HIDDEN
.
Full text available.guix-patches@HIDDEN
:bug#67895
; Package guix-patches
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.