From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QKusF7JYJGUk2wAA9RJhRA:P1 (envelope-from ) for ; Mon, 09 Oct 2023 21:46:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QKusF7JYJGUk2wAA9RJhRA (envelope-from ) for ; Mon, 09 Oct 2023 21:46:58 +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 1F37047AF3 for ; Mon, 9 Oct 2023 21:46:58 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=XxcbEZh0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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=1696880818; 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=u/i1VVsQYTwh1H2k6WX2iC3CysIkbMOFK6SDVkUjuI8=; b=pVfBEc8R3SB0TpEb86MFLryFEXZUwm6Mv+J4Sg2XIet1IucBO9Ahm9BPSMgFFMNHW2D1xo +0pLZMO62fD/irXSSqpxB1M2V0vQUrBnx4ntp1pBK356ElA5VrkPqc/qZHHOlPU08HtmHs l9kRBJP0XwPCKlRnYIoSi0HzTJ0sfsZy2lPpHb2R9Vd3y453FNtvHvcsiG+q6uTCZQLOrf 2951rchej/4ApW+yUp3yM5NJf7qJ5xQM8ndQ6xz8RgN6OAWF/sU1xvNXI1N+WMsmi7z8vX T+wJ1C0dLW2hXvQ2zZonPVNSzEiTg9CeJmLCbLA0Ifc1wVYW6MP0tT53FItKYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=XxcbEZh0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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=1696880818; a=rsa-sha256; cv=none; b=V6YWkBV45n/cRO7bUrufxcM5MMJujb1I/G6KGW2bYvOJyHIpeU4PLX+2J2chVC1eDlpfM0 Nf5oTc6MihQDzsueLGVVpzpzFEEir+aWFeaCQdQJZdTy8wdp8fzh17LxsNz0s0pm2vr+fz EwG2y/JPf/3Xs308Ht8OYQjYbVRNIdbJeDkGagS1w+4xDBZfRzf18jb+oVqwmBkYSpHW9p ORIwozOYllM223KNJZHQV0DHdaLveoqYR5ZdpEKdcNTOYoMVCZiBYuoOxxYf7auEJZ/M/q +VFgFvrCzVxqb09ZcQxLkUzR4+oSR9Y4V5yqqE+AhIwfz9CPPwsIqRqDg954YA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qpwDF-000081-1j; Mon, 09 Oct 2023 15:46:45 -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 1qpwDC-00007l-Br for guix-patches@gnu.org; Mon, 09 Oct 2023 15:46:42 -0400 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 1qpwDB-0003nA-I4 for guix-patches@gnu.org; Mon, 09 Oct 2023 15:46:41 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qpwDW-0001aW-9O for guix-patches@gnu.org; Mon, 09 Oct 2023 15:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66426] [PATCH 00/65] Export %default-gnu-imported-modules and %default-gnu-modules. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Oct 2023 19:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66426 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: Bruno Victal , 66426@debbugs.gnu.org Received: via spool by 66426-submit@debbugs.gnu.org id=B66426.16968807956061 (code B ref 66426); Mon, 09 Oct 2023 19:47:02 +0000 Received: (at 66426) by debbugs.gnu.org; 9 Oct 2023 19:46:35 +0000 Received: from localhost ([127.0.0.1]:33231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpwD4-0001Zg-JE for submit@debbugs.gnu.org; Mon, 09 Oct 2023 15:46:34 -0400 Received: from mail-ed1-x542.google.com ([2a00:1450:4864:20::542]:57746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpwCy-0001ZF-Mn for 66426@debbugs.gnu.org; Mon, 09 Oct 2023 15:46:33 -0400 Received: by mail-ed1-x542.google.com with SMTP id 4fb4d7f45d1cf-533c5d10dc7so8610811a12.3 for <66426@debbugs.gnu.org>; Mon, 09 Oct 2023 12:46:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696880762; x=1697485562; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=u/i1VVsQYTwh1H2k6WX2iC3CysIkbMOFK6SDVkUjuI8=; b=XxcbEZh0+XH0pkW3ArW8uRFviJntaLjB2JwZ2K5i7swx2rVKfnWJ0zpOpZ2XrJkjXA iuGM+5Mr6ScSgJRos+resHSypLfYyCL8AXtBsMnZxmWRQN+hDwzhW4HgtJM3wAPEp8ri QEQ/MOsnix/VTgvqE4JRvuKRLCKs0UK2mVT+nbYEMubzuo/YuhvN80Zqh3bxpwC5xUvQ EJv/8ReRatgKmGGoo5QIx5Dbq2Vgj6DaVLt5Y8YFhDCTrZ0jgLA7ZofmHoP9rwbRQ76T HuW+s5Cs+v1dNPKeZdr+nt/pAWOz49qUZD3f5kNb5UhrV7vMquAjAGYh+53RleECyPq6 677w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696880762; x=1697485562; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=u/i1VVsQYTwh1H2k6WX2iC3CysIkbMOFK6SDVkUjuI8=; b=DTrQIteKCEYV6QcA70pkRyDfCAUABOJf7gifVdaLArRXIv+2yP/KfabeEcWmu0oPrw 7GzZFH18NKCsmJLjyxhwHhrfp+t1AQSjq2QtTO8SupU31fgXa9k6+yqTARmZOaFU1I9r TjRTDAszx9Hv6wHm3h69R7FNw76jhmDJmIsD4B/rkVYOdAsRZ1iIyQi76tF0LtBC+2V8 Ckyn5zC6MjbdydhKSTuSD3UVwyM8XNKuzGhdiAeLqfIqDWeBvDkvPYxDWJydRRxn0uU+ tAofvjDqP5Dm2KgcmB6cM8ERpu0ziwD6bRF7QULjxkPLV0iVu/Y2YmBcvzgLDqHXyUZ7 0Ijw== X-Gm-Message-State: AOJu0YxUScx2umPBfEE9SX5Jlm05SoRtyrri4KgJjJgFP9/L5IwjxxiM sy2tBv7fcwHs6wUNXh46dbl7F3zZpOILLA== X-Google-Smtp-Source: AGHT+IF70eg6/RoGSlP5TvJcywQ7oW1tbpUjaaWnAMmHAaPk+dm1XqHsT8jIyC9Uvs0QVEwxox4H6A== X-Received: by 2002:a17:907:760d:b0:9b2:ba66:c436 with SMTP id jx13-20020a170907760d00b009b2ba66c436mr13248008ejc.68.1696880761901; Mon, 09 Oct 2023 12:46:01 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id n24-20020a170906089800b009929d998abcsm7080299eje.209.2023.10.09.12.46.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 12:46:01 -0700 (PDT) Message-ID: <2e6bfb0e40fddb7f0df045aa3b234c1cf45494cf.camel@gmail.com> From: Liliana Marie Prikler Date: Mon, 09 Oct 2023 21:45:59 +0200 In-Reply-To: <87y1gb8u73.fsf@gmail.com> References: <87y1gb8u73.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 1F37047AF3 X-Spam-Score: 2.77 X-Migadu-Spam-Score: 2.77 X-Migadu-Scanner: mx1.migadu.com X-TUID: ABCNZ6rFn2qX Am Montag, dem 09.10.2023 um 15:36 -0400 schrieb Maxim Cournoyer: > Hello, >=20 > Liliana Marie Prikler writes: >=20 > > Am Montag, dem 09.10.2023 um 12:33 -0400 schrieb Maxim Cournoyer: > > > This series introduces default variable bindings for the default > > > gnu-build-system IMPORTED-MODULES and MODULES values.=C2=A0 The lack > > > of a %default-gnu-modules caused enough confusion, as made > > > apparent by this series. > > If we're going to do this anyway, let's go big: add modules and > > imported-modules to the fields of build-system and allow users to > > use that. >=20 > I don't understand; what would that look like in practice?=C2=A0 Isn't > this already how it works?=C2=A0 Build systems have #:modules and > #:imported-modules arguments, which are provided via the 'arguments' > field of a package. Well, no. The build-system record currently contains a name, description and lowering procedure, but no "immediately helpful" data for package writers. > > Perhaps also add short-hands so that (default-modules gnu) > > expands to (build-system-modules gnu-build-system) and likewise for > > imported-modules. >=20 > Ah!=C2=A0 I understand the idea now.=C2=A0 It feels a bit strange to me t= o > attach such metadata to the build-system record itself though.=C2=A0 At > any rate, we could discuss this separately and do it in a future > iteration, perhaps? > The series posted here already has value in itself, and if we ever go > to attach this information to build system objects instead of plain > variables, we could use sed to adjust the code base. >=20 > What do yo think? Hmm, at the very least I'd like to bikeshed the variable names, hence my suggestion to encode it into the build system itself, which would allow any name locally. %default-anything reads weird to me, plus it's a mouthful for imported modules. WDYT about %gnu-build-modules and %gnu-build-system-modules, where %gnu-build-system-modules keeps its current intent for being imported? Alternatively we could also rename it to %gnu-build-imported-modules with a deprecated alias. Cheers