From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id GFrGDcuXUGddJAEAqHPOHw:P1 (envelope-from ) for ; Wed, 04 Dec 2024 17:56:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id GFrGDcuXUGddJAEAqHPOHw (envelope-from ) for ; Wed, 04 Dec 2024 18:56:27 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=aTs42stt; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=GM7MBWbX; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733334987; a=rsa-sha256; cv=none; b=E1eO29ID+E1pVWU3l6iDjVDAFpDWzlIa0CEEs49ZbO8+cOJXWYmVyTtRnooE0ddPk7n/um Wf3z0ArAtvoRJh35B+suQAqXecgB/On4DO90O8AEuDBw3yn+gZtVqvVnxaDsZWgntplZbI spHBrxeAuZp0DLiRz2hZuoRDHAW4Fkdn27dn7wrA00kKhgaYprIlFCN82dAeFlC4jAVu4e 9jR9STMu6WFenVRVmJrstO6jPbgwQeG3fGlNVsSkExvKl0fYzAu0mt7owuUfnXeTI04TA4 92CkOtPcr7tdYykSln3IHSahFmxnmCOKqGtNTs2gA0vWwqIGImrrIizwnAXwQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=aTs42stt; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=GM7MBWbX; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733334987; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rB1c2sEdhKC8ceEYU+E8pswTez3rMwDpjGGVX0ryg0k=; b=cirb5vLBKoymZXCpljuyxoE2uT/abaNb8HQIQyBoznPp6WgefhI1vcbnSpQewyW4kdCkIn 7D622Xys0CEw+Vh5Xmqf9mNmKRWYtFPdVO944GjauKbIK7muOz2zUlxs7JJJdOA8GK8Jcr Rf++UGYRM4ZU8yHwpEtjhrt5OoHaTUlmvQEyac71yV53sogY85dD6ISINFjlQTOt6QRx7a VWao80vc/BhI4raO+uUL2VSRse6JerFH8aaDaUDWjLPU4+CcQAB5qn+Xt4Mw9w/SP1Z3xG yLUstRGeuKH9b9uQ3TeWqEjqg2T+dtQ0ROMYj8s+KBd2YlZEYhaZVXTmbpmlYw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 272BD595C7 for ; Wed, 04 Dec 2024 18:56:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tItbh-000544-1F; Wed, 04 Dec 2024 12:56:14 -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 ) id 1tItbY-00052C-Qy for guix-patches@gnu.org; Wed, 04 Dec 2024 12:56:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tItbW-0001c8-Un for guix-patches@gnu.org; Wed, 04 Dec 2024 12:56:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=rB1c2sEdhKC8ceEYU+E8pswTez3rMwDpjGGVX0ryg0k=; b=aTs42sttwzk4gxhG7hLWHvXrHXdLoq0iTTCGwTzUZHdlDUdRlOaRAFwtduMoo2DZiI0vTzQ76F7UkUhchMaTuObyzMm+JuGJG6cMVboq67LBXRjpYGFSm6F3f8rYZ/TmmiwqDCVidLr77dli58OcMowexzzRa8h8tXASIHgjG3gYYXe4ugK91Tqy6TY/obFkV1iskqFXqyV5NTVW/jfnuMLYZSc+KiOfRvOAVGmDDxCbppO7GMO6zK/8U2CoCnJIynGjcI//c1MFOvNapqajc/IlFu6kxtFI2FGqKvCnfv9/DXr4MXcF59nhBzbDZjcwSRAW75iGgOVpxqj9DmF0Nw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tItbW-0006gs-Or for guix-patches@gnu.org; Wed, 04 Dec 2024 12:56:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73073] [PATCH v3 3/8] gnu: dmd-bootstrap: Move phobos origin from phases to native-inputs. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 04 Dec 2024 17:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73073 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch moreinfo To: 73073@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Simon Tournier Received: via spool by 73073-submit@debbugs.gnu.org id=B73073.173333492025580 (code B ref 73073); Wed, 04 Dec 2024 17:56:02 +0000 Received: (at 73073) by debbugs.gnu.org; 4 Dec 2024 17:55:20 +0000 Received: from localhost ([127.0.0.1]:36715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tItap-0006eQ-Of for submit@debbugs.gnu.org; Wed, 04 Dec 2024 12:55:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tItam-0006dj-I0 for 73073@debbugs.gnu.org; Wed, 04 Dec 2024 12:55:16 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tItah-0001Wh-AZ; Wed, 04 Dec 2024 12:55:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=rB1c2sEdhKC8ceEYU+E8pswTez3rMwDpjGGVX0ryg0k=; b=GM7MBWbXvhaaPlYcAAqg LcseVfoMm5q3dt5QjQIFSu/dY+oEnd0e3wDO3+KB7KFXGBcaYi2/1vciNEqLnLey6pBcOFNSWcH/a dOT4MyPgZzZvdubKVuarKNM+iGTKwrm8IMQA7OsAeu8rhdopAF4gMreJJoBKrpakxxaqha5LqkMCd j3zygOOCTlu64JW8/KM7iN3NrffCtS5iaCvWVXVl8Vqq2hotzkaw7tinDZz1vRKjSG3ymlYFqoqce 1TjQz8tD3ejm9pl6idS+g9qqLD8Su/HsZ2pHoRBlfIV0dEOhPm0R0mkqLRt9YfqSbSzWlOikpgCy/ I1xFXRLrh9TpMg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Wed, 4 Dec 2024 18:54:24 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 272BD595C7 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -7.53 X-Spam-Score: -7.53 X-TUID: IJjeMRKcJaLr From: Simon Tournier * gnu/packages/dlang.scm (dmd-bootstrap)[arguments]: Move phobos origin from here... [native-inputs]: ...to here. Change-Id: I10cb5f628dad2fdbb01df58134996bdcd0b73d62 Signed-off-by: Ludovic Courtès --- gnu/packages/dlang.scm | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/gnu/packages/dlang.scm b/gnu/packages/dlang.scm index 8bf0ee685e..1fd1c8d58c 100644 --- a/gnu/packages/dlang.scm +++ b/gnu/packages/dlang.scm @@ -456,15 +456,7 @@ (define dmd-bootstrap (lambda _ (symlink "." "dmd") ;to please the build system expected layout (copy-recursively - #$(origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/dlang/phobos") - (commit (string-append "v" version)))) - (file-name (git-file-name "phobos" version)) - (sha256 - (base32 - "1yw7nb5d78cx9m7sfibv7rfc7wj3w0dw9mfk3d269qpfpnwzs4n9"))) + #$(this-package-native-input (git-file-name "phobos" version)) "phobos") (chdir "phobos"))) (add-after 'copy-phobos-source-and-chdir 'adjust-phobos-install-dirs @@ -519,7 +511,16 @@ (define dmd-bootstrap "lib") (("\\.\\./src/(phobos|druntime/import)") "include/dmd"))))))) - (native-inputs (list gdmd which)) + (native-inputs (list gdmd which + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dlang/phobos") + (commit (string-append "v" version)))) + (file-name (git-file-name "phobos" version)) + (sha256 + (base32 + "1yw7nb5d78cx9m7sfibv7rfc7wj3w0dw9mfk3d269qpfpnwzs4n9"))))) (home-page "https://github.com/dlang/dmd") (synopsis "Reference D Programming Language compiler") (description "@acronym{DMD, Digital Mars D compiler} is the reference -- 2.46.0