From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8DtVOLBMrmBvbQAAgWs5BA (envelope-from ) for ; Wed, 26 May 2021 15:27:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OB0INLBMrmAfeAAAB5/wlQ (envelope-from ) for ; Wed, 26 May 2021 13:27:12 +0000 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 97F8E29DE2 for ; Wed, 26 May 2021 15:27:12 +0200 (CEST) Received: from localhost ([::1]:58682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lltZ1-0003UT-NH for larch@yhetil.org; Wed, 26 May 2021 09:27:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lltYZ-00039k-IV for guix-devel@gnu.org; Wed, 26 May 2021 09:26:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33898) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lltYZ-0003r4-92 for guix-devel@gnu.org; Wed, 26 May 2021 09:26:43 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33564 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lltYX-0005Me-93 for guix-devel@gnu.org; Wed, 26 May 2021 09:26:41 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: guix-devel Subject: Re: =?utf-8?Q?What=E2=80=99s?= next? References: <87v97jhot4.fsf@inria.fr> <87k0nxdsq1.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 7 Prairial an 229 de la =?utf-8?Q?R=C3=A9volution?= 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: Wed, 26 May 2021 15:26:39 +0200 In-Reply-To: (Efraim Flashner's message of "Fri, 21 May 2021 14:07:23 +0300") Message-ID: <8735u9wrqo.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622035632; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=KD53miBrtDTAx5xLGeamOG/+uJUFrx3X1UD20cNOnRw=; b=mU1ju6Bkyak+5eJ5zC1tDbLJ3sRfWkYKrJTKEkPb3JgL3WLZsUIsgmOuPFITYXS+cX4Rjq fo/qMErHs+9hK49fzYz4Jdnzxhwp98QqfJDZyq+IUvCwoYV2FsTFWw1K6tM6v+gsJ1U3Eo jm0KJMLbSd7QiryO8+gPvg2tpDHvWc7wbagURiCZnmPpHA+mhFJUd+WcI/WPvupKjF0+Ji BorhyKf3gWkBq9h9XICkoXj0+PEdpNbaQC6PDY/mOF4CfcjovlPtwOb+svz3eMXpFQQ76f i4nB+xDiE5bI5LAwSSsQUGdqRqS14bhgRILkPehFpbPduCaufyF+RsEnGS2lRQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622035632; a=rsa-sha256; cv=none; b=F8NrrGbo36VrHW7GKKe+SqFiq4lzDBl0aBng+iLV7eI7r+4LJsSW7LPRV3TxpgccyiAjTD w8Y3Uc/cYabwcINiEyO4YQxDOOxojHZi++o2nSve9BTxyFBq12DGl1bEeNSvKwNCrejSVd 80TjtBDLnAVpfU7BTrL6wxmKgObkBwDXIz77S8fiM5psdY35ePIEMWMpwZ649oBl0qRf0V bbJYLqtZkc+5cHhi2APV5JDZGzbVMxo6/X2Ex50wUMHwkKa0eOkyOBBgZJmL948ogRlyqY o4QEyL6SgiF70X1bLv7oe1WmVlbZ+qh6gEgUOBi/cCdMdm5WVHXnKu5k7P9P8g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 97F8E29DE2 X-Spam-Score: -1.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: dvby0iAJ/WSm Hi, Efraim Flashner skribis: > On Mon, May 17, 2021 at 10:13:10PM +0200, Ludovic Court=C3=A8s wrote: >> Hi, >>=20 >> Efraim Flashner skribis: >>=20 >> > package-transformations applied to the operating-system field of the >> > os-config. >>=20 >> Ah, that=E2=80=99s a good one, but possibly tricky! What would it opera= te on? >> Any package? Only those showing up in the system profile? >>=20 >> The former is not really possible; the latter is. >>=20 >> Ludo=E2=80=99. >>=20 > > The idea is everything in the system declaration. So the global > packages, the guix-daemon from the guix-daemon service, Yeah, that=E2=80=99s not easily possible, in the sense that there=E2=80=99s= no place to =E2=80=9Chook=E2=80=9D to perform such transforms. The reason is that refe= rences to packages may be buried down anywhere in gexps or files produced by services, an obvious example being: #~(make-forkexec-constructor (list #$(file-append some-package "/bin/xyz") =E2=80=A6)) The reference to =E2=80=98some-package=E2=80=99 here is deep down. An option would be to have a way to provide =E2=80=98lower-object=E2=80=99 = a customize way to lower all the records that it sees, for instance. But then, how does that interact with caches, etc. Tricky! Ludo=E2=80=99.