From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4OnuI+ide2LpcAAAbAwnHQ (envelope-from ) for ; Wed, 11 May 2022 13:28:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sGPcI+ide2LfeAAAauVa8A (envelope-from ) for ; Wed, 11 May 2022 13:28:40 +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 3CD5BBF05 for ; Wed, 11 May 2022 13:28:40 +0200 (CEST) Received: from localhost ([::1]:49084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nojsm-0002wF-Cd for larch@yhetil.org; Wed, 11 May 2022 06:47:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nojsD-0002rV-K2 for help-guix@gnu.org; Wed, 11 May 2022 06:47:17 -0400 Received: from lepiller.eu ([89.234.186.109]:34246) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nojsA-0004wd-Cy for help-guix@gnu.org; Wed, 11 May 2022 06:47:16 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 4a3c8209; Wed, 11 May 2022 10:47:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=3hxRgfGxnFx2 jmvXQVailitSn2SKBtcO/i/vtwtPQ3s=; b=UxiGse9SkTP5kR6owv/4u7tO5UWk K9fadXdPwW/O2Bp93POlT8Yr12DpFyZrJEXstfZfzStZXpvTTLodpXDZyYsnT6Dc /TtmUvPg1ZbiDQ1zZ7qA3tjvkD+gPl3HEx2ky7tJ4jkoYvcabHcA2WqL0hovOHjm 4KpwNciKIqueJ9KTzYzirrfV094J3ka1ka7c9hceyns8693oBk3f+WYoCIgoUz1B GHFjy3wm/TMV7jZSWLge9rpsdm/xjBzPokLZAGXNivcjFApdfE2V3piRQARGEuza UV3C/1F8bFDiJpgoo5W/cPRe2l9kt9hKlDj4Wk6aojOEoAfdsipsHShaWA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id ecb1097c (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 11 May 2022 10:47:05 +0000 (UTC) Date: Wed, 11 May 2022 12:47:01 +0200 From: Julien Lepiller To: =?ISO-8859-1?Q?S=E9bastien_Rey-Coyrehourcq?= , help-guix@gnu.org Subject: Re: Guix home, guix system, channels, some noob questions User-Agent: K-9 Mail for Android In-Reply-To: <05b8334e-8ecb-1373-97b3-10b8617ed3c8@univ-rouen.fr> References: <05b8334e-8ecb-1373-97b3-10b8617ed3c8@univ-rouen.fr> Message-ID: <490A4062-75F7-4919-803D-47E98DF9421C@lepiller.eu> MIME-Version: 1.0 Received-SPF: pass client-ip=89.234.186.109; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652268520; 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:dkim-signature; bh=Ba4RxQslWFG7a9Vwzf3zSZHr1ozzcH8SyQ5WdgYdiMQ=; b=j72tBsMyxhThsVg90yLLs6efDUa/cZxpzYKYAb8D/wYIxhXOJlIx0h7KzFhwBjrA+duLmO 14657jZrX3vfsg8Qq+6/jNEltcQE/Nq5RzuZkIcUctSc6fkTIEbeK4+wyjLFtxdOlKATWB ja4rdJAATLe/erMNhivBc/7we0qA4hgb2tNWVL+WifkHbPEfMVxbeEyTIOFR5LgvLFiD+R IBsIBkEbJfO90d9U4nBatT1bIJFxo7xmYEccQMQLX4VnjXJCuX1rK+UhzCcpKIxeiKupfU 48OaakBCYNONO04kr00H7b1a8seKVXThUkO6kw7ElaYwaj5avvqNmfuLZ4x2lw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652268520; a=rsa-sha256; cv=none; b=AgIzIi3xKEqOfKNMi5XXp+TlwZfI4u9YMiN2OHss2GgubzmV/6+PVI90HQWqrc5Yo+Sh0U 5znZDOjt0KHOVTg/ZvUQaHV93Ncg48LCljPqBL+LnHQCvsqkYrk3zUz/mwXSxL+r1E7mc4 uqgBwS6MN5kJQDTJcH/tsCj502pMbGWoonFsGxTbmVc/UJele2Mg0+ZvZF34MxB5MYLu1d WcNbl7IkiGUkGUucC2BHk/iP+b2B7aSZXFNL+a4hHN7T/y+IlSji/IAG0jGhzgwVZRDvHr RsPG5nbZTk0qZ82qIJ2VHbcgFIMhW8+Dh3tQu/8ipmuF9mOqgW4zr/GuUnrnBg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=UxiGse9S; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=UxiGse9S; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3CD5BBF05 X-Spam-Score: 6.19 X-Migadu-Scanner: scn1.migadu.com X-TUID: A34QLrNQ3cds Hi S=C3=A9bastien, When you run guix describe, it's running the guix for your user, which mig= gt be different from the one you run when you use sudo=2E That could explai= n why the modules are not found=2E I don't think guix home has anything to = do with that=2E I noticed that the first time you use sudo -E, whereas you use only sudo o= n step 5=2E May=C3=A9e that's why it fails? I would run sudo guix describe and sudo -E guix describe to see how the tw= o might be different from your user's guix :) HTH! On May 11, 2022 11:09:19 AM GMT+02:00, "S=C3=A9bastien Rey-Coyrehourcq" wrote: >Hi Guix people :) > >I'm starting guix, picking information when needed into documentation=2E > >I'm facing difficulties with channels=2Escm since i start using "guix hom= e", i read the doc page, but i need some other things to understand=2E > >Here my logic to start just after install : > >1 - I modify my //etc/guix/channels=2Escm/ file to add some modules : /no= nguix/ (my computer don't work well without) and /emacs-native-dep/ from fl= atwhatson flat channel=2E > >2 - I /guix -E guix system reconfigure /etc/config=2Escm/, /guix pull/, a= nd everything goes well > >3 - Like explained in the doc, I run /guix home import ~/src/guix-config = /that generate /a //home-configuration=2Escm// >/ > >/4 - /Into /home-configuration=2Escm///i add the package htop and /emacs-= native-comp/ > >5 - In the guix home doc the next command is /guix home reconfigure confi= g=2Escm /but this is probably a typo and i run /guix home reconfigure ~/src= /guix-config/home-configuration=2Escm/ > >6 - Everything goes well, emacs-native-dep compile during 1 hour, problem= s arrive after that=2E > >7 - I'm moving the //etc/guix/config=2Escm/ and //etc/guix/channels=2Escm= /to my home /~/=2Econfig/guix/ , /and i run /sudo guix system reconfigure = ~/=2Econfig/guix/system=2Escm///*, that fail*/, /it seems the module (nongn= u and emacs-native-dep) are not referenced, like the error say /"no code fo= r module ( nongnu =2E=2E=2E" /But when i run /guix system describe/, the co= rresponding channel are well defined=2E / >/ > >After that, i try many thing, like moving channels=2Escm and system=2Escm= back to /etc/guix/ but every reconfigure command fail in link with channel= /module not recognized (emacs-native-dep or nongnu) > >- /guix home reconfigure ~/src/guix-config/home-configuration=2Escm/ > >- /guix system reconfigure ~/=2Econfig/guix/system=2Escm/ > >- /guix system reconfigure ~/etc/guix/config=2Escm/ > >So my question is first, why that fail after switching to guix home ? and= how and where i need to define/set correctly the /channel=2Escm/ file to r= epair that ? > >For example, /guix system//describe/ and /guix home describe/ and /guix d= escribe/ return all different channel referenced, how i manage that ? > >I suppose there is a "workflow to use well guix home"? but this is not ac= tually in the doc=2E For example, perhaps after creating and switching to g= uix home profile, running guix system is impossible or prohibited ? I suppo= se this will be added in the future=2E > >Thanks a lot for your help=2E > >--- > >Sebastien Rey-C > > >// >