From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gDVnONspA2UnHAAAauVa8A:P1 (envelope-from ) for ; Thu, 14 Sep 2023 17:42:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gDVnONspA2UnHAAAauVa8A (envelope-from ) for ; Thu, 14 Sep 2023 17:42:20 +0200 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 C829F31D01 for ; Thu, 14 Sep 2023 17:42:19 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=Y2hc5TMX; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694706139; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=T2CPyMhfMVf0OzyzLoyw/qZ4jxNWVV5M+Q+Y1sqhoj4=; b=VcOEcieZotTbW42cVmoBKr0Di4APNd+5FIL9qKeFVI88gIuAd7RqsTEmjFmtZ1WBGeBNOK 4lLd1R9Ebkl1lSX3RK2Ww5YI2O+KgpCvFcI6kdehnmJvfBbL3rmWGX3CitMDLo7UIlWExV GXfgMU7b24P8Z5dmPy7NR67dY3PLemRZ5On7IQWtoxneDafbkpCz3DLYZXLKW65uR5adh/ WBuaJ6O9LEJS0vtHmujK7A/h7R5tqpc1As35jdCqPUyAmKME8kib4dbf4pFFPMp8hzv1M8 brCDEWwCJDKnb7yASTJh8+0y47aQRGmp0WLizTmsoHNmj2Zqlc2srDT4mYmI2Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694706139; a=rsa-sha256; cv=none; b=t0AUNH9epyrYErWX1I9Ft/k7VTXAP8VD7zgZ6TeH5H+kXW3AX5PhdVtoehKq9FuqIi68i1 8VSEeHfWx+RvuXxRZkL25q5TAiov1UtFNykbBkOC0Ov7TL24pwXcB9x7THHMAa3A9PNzm8 I5+2NKETVE/jYSEioCWDb2hhvno7hJw5DYjUFyqrtTUBKMXI7qPEMI36gtgHKbRJ2XVg8a bC4+tlNh67LKecpzN68XPjnxVNSbi+Srt/V32K6uR5BjZlx6HsbR1Cv8vyAr/jFcjtB1Ss mn1IyaSiRB6olEZkC8gC1BFOszZ+Ju7v3qw+4kW1KlFeoURlTNGendj/jN8J9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=Y2hc5TMX; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgoTD-0003Pg-AM; Thu, 14 Sep 2023 11:41:31 -0400 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 1qgoTB-0003Ob-PF for guix-devel@gnu.org; Thu, 14 Sep 2023 11:41:29 -0400 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 1qgoTA-0005Ns-Jn; Thu, 14 Sep 2023 11:41:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=T2CPyMhfMVf0OzyzLoyw/qZ4jxNWVV5M+Q+Y1sqhoj4=; b=Y2hc5TMXVHhFuyoYeBWb cUI+pN0BZueRx+T7RKzzkWC67oGffpR37QJ5SLPp98Txg2Tc/WTSrgnywcTS5fzHuoeDa+WEEWIk/ 3HxbF3F9DsRk9a8ogsR4C72djumulXxPoWRMS+5RXiubcBbF16dWwLzO6ChV/eERrYq14QnNlZL2E +uSroB0GY23vykn82haEnAgYRcl3GEgLlhPXSLTDZC6N46vHalth9wKseqQklC7qYGH1QKZc9tGmR jZrXstATDgnxg/NYur2E7GR2qQu6BgkQGLI/ygYKrTBmBkexxpf67BnzlT+eurLfhqkI6rtAXkBXY 1QuIJZmTV65O/A==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Greg Hogan Cc: Christopher Baines , Josselin Poiret , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice , guix-devel Subject: Re: [bug#62047] [PATCH 0/2] '--with-input' & co. no longer replace hidden packages References: <20230308120125.17560-1-ludo@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 28 Fructidor an 231 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour du =?utf-8?Q?Ma=C3=AFs?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 14 Sep 2023 17:41:24 +0200 In-Reply-To: (Greg Hogan's message of "Thu, 22 Jun 2023 13:25:47 -0400") Message-ID: <87a5to92zf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.51 X-Spam-Score: -6.51 X-Migadu-Queue-Id: C829F31D01 X-Migadu-Scanner: mx0.migadu.com X-TUID: DC3AoGCJ3BZt Hi Greg, (It=E2=80=99s been two months but I completely missed this message.) Greg Hogan skribis: > On Wed, Mar 8, 2023 at 7:03=E2=80=AFAM Ludovic Court=C3=A8s wrote: >> >> Hello, >> >> This change makes things like: >> >> guix build --with-input=3Dguile=3Dguile-next guix -n --no-grafts >> >> more useful and tractable. >> >> Low-level rewrites are still possible for packages not marked >> as hidden in 'commencement.scm', such as glibc: >> >> guix build --with-latest=3Dglibc hello -n >> >> Thoughts? >> >> Ludo'. >> >> Ludovic Court=C3=A8s (2): >> packages: Use SRFI-71 instead of SRFI-11. >> packages: 'package-input-rewriting/spec' ignores hidden packages. [...] > This has broken, for example, building clang with a newer version of > gcc using package-input-rewriting/spec. As in: guix build clang --with-c-toolchain=3Dclang=3Dgcc-toolchain@12 ? Or some other command? > What do you think of adding a hidden? property to enable the old > behavior? Maybe, but I=E2=80=99m not sure I fully understand the problem. > Alternatively, why are gcc, binutils, and libc used as build-time > dependencies rather than gcc-toolchain? gcc-toolchain could be > rewritten as a non-hidden package and use of the toolchain would > seemingly better support profiles created with > package->development-manifest. We could replace gcc, binutils, etc. with just =E2=80=98gcc-toolchain=E2=80= =99; this will need testing of course, but I cannot think of any issue it would cause. (That=E2=80=99s a =E2=80=98core-updates=E2=80=99 change though.) Thanks, Ludo=E2=80=99.