From mboxrd@z Thu Jan 1 00:00:00 1970 From: brettg@posteo.net Subject: System-level inferiors. Date: Tue, 19 Nov 2019 21:02:47 +0100 Message-ID: <07a85a27c89f415d79aa1211f13966fd@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48947) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX9iA-0006Iw-DQ for help-guix@gnu.org; Tue, 19 Nov 2019 15:02:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iX9i8-0007oV-W4 for help-guix@gnu.org; Tue, 19 Nov 2019 15:02:53 -0500 Received: from mout01.posteo.de ([185.67.36.65]:36914) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iX9i8-0007ny-G3 for help-guix@gnu.org; Tue, 19 Nov 2019 15:02:52 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 8BB56160061 for ; Tue, 19 Nov 2019 21:02:48 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47HcF332JSz6tmG for ; Tue, 19 Nov 2019 21:02:47 +0100 (CET) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix Hey all, I am experimenting with the inferior system a little bit. I am attempting to see if I can specify a specific version of the linux-libre kernel to be taken from an inferior and applied to my system configuration. (define kernel-channel-inf ;; This is the old revision from which ;; we will obtain our desired kernel version. (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (commit "fd41243c819635795f4e4bdef1e2823db5234e24")))) (define kernel-inferior-proc ;; An inferior representing `kernel-channel-inf'. (inferior-for-channels kernel-channel-inf)) (operating-system ... (kernel (lookup-inferior-packages kernel-inferior-proc "linux-libre" "4.19.81")) It took me some experimenting to come up with this, in that experimenting the channel revision was built and cached. However, when I run `guix system build config.scm` with the above code snippet, the process just hangs on Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... I am not sure how to proceed to achieve what I am hoping for. Any thoughts? Brett Gilio