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 ms11 with LMTPS id oMl7EBjiKmCNQgAA0tVLHw (envelope-from ) for ; Mon, 15 Feb 2021 21:05:28 +0000 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 QIQ5DBjiKmCMCAAAB5/wlQ (envelope-from ) for ; Mon, 15 Feb 2021 21:05:28 +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 B18591C96D for ; Mon, 15 Feb 2021 22:05:27 +0100 (CET) Received: from localhost ([::1]:35200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBl3e-0005ZG-Un for larch@yhetil.org; Mon, 15 Feb 2021 16:05:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBl2N-0003xJ-DZ for help-guix@gnu.org; Mon, 15 Feb 2021 16:04:08 -0500 Received: from mail-40131.protonmail.ch ([185.70.40.131]:56848) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBl2J-0007Gg-5I for help-guix@gnu.org; Mon, 15 Feb 2021 16:04:06 -0500 Date: Mon, 15 Feb 2021 21:03:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1613423039; bh=zjV2LredAzHSpmTbHC19/VgluGoZosJT9YIhB4w3XvM=; h=Date:To:From:Reply-To:Subject:From; b=OWEpdraPRbWi8wC7ttBIp/sqZrvZSfHyyrh5CUnYVj7jZzN8G/JxJLp2iyIgKD99m 7Zc5i8djBCyJByvertP5q0aHmrFAWW7t6QUAjoh7nmoEZYJfxhKLa7NDMH6/FN4e95 vI6zXc+43odUZBzkutOTHfW4qK2yu9iGPEUzm5cA= To: "help-guix\\@gnu.org" From: =?utf-8?Q?Todor_Kondi=C4=87?= Subject: inferiors and services Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.131; envelope-from=tk.code@protonmail.com; helo=mail-40131.protonmail.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: =?utf-8?Q?Todor_Kondi=C4=87?= Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=OWEpdraP; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: B18591C96D X-Spam-Score: -3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: cn60gJh7f6kv Dear guixians, During the operating system instantiation -- either through `reconfigure`, = or various `image` procedures) -- is the only possible way of controlling w= hich version of services and the packages installable by those services to = specify a particular commit in the channel config? Inferiors help isolate a package manifest together with an user-controlled = guix commit, so I was wondering if anything such is possible with the syste= m itself (for example, during building of an image). In pseudocode: (define inferior (inferior-from-channels ...)) (with-inferior inferior (reconfigure (operating-system ...))) I am almost certain there is some gexp mumbo-jumbo-derivation-of-the-whole-= system one can use, but not yet entirely comfortable with them. T