From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +CEnGSV/zV4fMwAA0tVLHw (envelope-from ) for ; Tue, 26 May 2020 20:42:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OHghFSV/zV7SdgAAB5/wlQ (envelope-from ) for ; Tue, 26 May 2020 20:42:13 +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 D3C56940983 for ; Tue, 26 May 2020 20:42:12 +0000 (UTC) Received: from localhost ([::1]:39840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdgOp-0003pJ-Ds for larch@yhetil.org; Tue, 26 May 2020 16:42:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdgOh-0003pC-8l for help-guix@gnu.org; Tue, 26 May 2020 16:42:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51924) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdgOg-0005Ti-TI; Tue, 26 May 2020 16:42:02 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=56692 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jdgOg-0001rN-AO; Tue, 26 May 2020 16:42:02 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "Reza Alizadeh Majd" Subject: Re: Access custom images inside disk image References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 8 Prairial an 228 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: Tue, 26 May 2020 22:42:00 +0200 In-Reply-To: (Reza Alizadeh Majd's message of "Tue, 19 May 2020 18:25:47 +0430") Message-ID: <87h7w2o2cn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Cc: help-guix mailing list Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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-Spam-Score: -0.01 X-TUID: o8mw0CRxeSBM Hello, "Reza Alizadeh Majd" skribis: > I built a modified version of Guix to have a series of custom Channels > by default. using this modified version, everything is OK, and I have > access to these custom channels by default. > > The problem is that when I create a disk image using this custom build > of Guix, only default Guix channel details is available during build,=20 > and I need to perform a `guix pull` to make the profile cache updated=20 > and install packages located in custom channels. > > is there any way that allow me to have these custom channels available > by default in disk image? To be clear, you don=E2=80=99t just want a predefined /etc/guix/channels.sc= m, you want the actually channel bits as returned by =E2=80=98guix pull=E2=80= =99, right? This is currently not easy to do out of the box, but here=E2=80=99s a coupl= e of tricks to more or less do that: https://git.savannah.gnu.org/cgit/guix/guix-artwork.git/tree/website/.gui= x.scm#n42 https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/ci.scm#n265 The 2nd one in particular would allow you to treat a =E2=80=9Cpulled Guix= =E2=80=9D as a package. HTH! Ludo=E2=80=99.