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 aDC/NPGAqWLiYAEAbAwnHQ (envelope-from ) for ; Wed, 15 Jun 2022 08:49:21 +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 8JRzNPGAqWJTKgEAauVa8A (envelope-from ) for ; Wed, 15 Jun 2022 08:49:21 +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 312B1403A4 for ; Wed, 15 Jun 2022 08:49:21 +0200 (CEST) Received: from localhost ([::1]:55024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1Mq8-0001ek-3R for larch@yhetil.org; Wed, 15 Jun 2022 02:49:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1Mo5-0001co-Vy for help-guix@gnu.org; Wed, 15 Jun 2022 02:47:14 -0400 Received: from smtp-out-5.univ-rouen.fr ([193.52.152.100]:39574 helo=mailhoc.univ-rouen.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1Mo3-0007RH-2k for help-guix@gnu.org; Wed, 15 Jun 2022 02:47:13 -0400 Received: from [10.196.65.97] (irihs-22-b69e-1657.univ-rouen.fr [10.196.65.97]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailhoc.univ-rouen.fr (Postfix) with ESMTPSA id 41A031F41; Wed, 15 Jun 2022 08:47:06 +0200 (CEST) Message-ID: Date: Wed, 15 Jun 2022 08:47:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: Guix home package confusion Content-Language: en-US To: Tangonov , Efraim Flashner Cc: help-guix@gnu.org References: <878rpz9t3f.fsf@eml.cc> <87sfo6wqi3.fsf@eml.cc> <87fsk68oy1.fsf@eml.cc> From: =?UTF-8?Q?S=c3=a9bastien_Rey-Coyrehourcq?= In-Reply-To: <87fsk68oy1.fsf@eml.cc> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=193.52.152.100; envelope-from=sebastien.rey-coyrehourcq@univ-rouen.fr; helo=mailhoc.univ-rouen.fr X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-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 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: , Reply-To: sebastien.rey-coyrehourcq@univ-rouen.fr 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=1655275761; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=nTFJFXxA1wl1FhwIwqT3RG1+t4/MvBEzdK9ihILo96M=; b=XoBMjC6IXDJJmAiCl6xCJ1knIMIvDdK4FP1k9c1/cWIbVRQltKidZGoPzSGrrfjg9PxRUt RnhZ27u2OfCHPCoy3zseKMNd4St0Z+IFBd0gYUDLXJF5bn9kq2g0PDyo1UzPhNhwHxAT/Q nMa08xJCSM1YA2hFRvpUwY3JIjHe/xIdgeYQtfIuDGspQPE/ltsv0DBM3XDaLchP6VXx77 o2VW3jM4SDLgIHxBlPKC7+vpoehwLet3QBj9DRUDxHLq3cDJQSW30CiPlEAC7LDV5YBFov q35VZgu56V5dj0PpZYADBVNkMrdm3DJ6MEPGLuQjNHZRPWr+majCZm51E/OlLA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655275761; a=rsa-sha256; cv=none; b=abEFFiKB3NexsJMW9AOGTeSivfDlGrVqYfvBF65hLB+xYYfXr1b3VIEIN5TodVHsKoBU9G hHPmfoS8RGMUtdTnOVNbxe0TpMDGqrUrPrC+4OapvNYZux0Chi8JAWbKD3Cevh9Mbcr4LT M3M120VXxVwvji1a3e/CmRLFL1KM+CBXR8w+tR1NY/s2cTULPeKpVZTsP+I4bdak8iHR1M TH3GE7UuzOUY4pDgF7c1eK5IAdXNOJ8jGW3MAj+PODR63vOK5hoSIqoX6Ves46mcrTZDWL s7QkMcer1L7N8Fywv6CCkLldo4XLxKGKPsRKAWbQS+RA1OYQB/+YLcE7bC5sXQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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: -2.99 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 312B1403A4 X-Spam-Score: -2.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: TDDvS5+HkXWI Hi, Happy to see i'm not alone, a little lost when jumping into the guix home bath ;) I think there is something to do (a schema, a table ?) to better visualize relation between guix home, guix system, guix install, guix package for the beginer. That could help a lot when you start your workflow from scratch and you don't know how thing relate each others. A list with dotfile shared by others, like sqrtminus / dominicm could also help (copy / pasting and learning from others). Best regards Src Le 15/06/2022 à 07:38, Tangonov a écrit : > With some more proper reading around I managed to find this thread > from May: > > https://www.mail-archive.com/help-guix@gnu.org/msg13655.html > > The end of the conversation answered many of my questions. I think I > know how I want to proceed from here. > > Thanks for taking the time if you made it this far :) > > Tangonov writes: > >> Thanks for the reply. I of course felt the need to keep trying after I >> messaged you. Call it determination (or impatience). I had manged to >> do such a good job of addressing my own questions that I ended up >> breaking my home environment. >> >> In the end, I ended up logging in as root, deleting my profile >> symlinks for my user and garbage collecting my user state. >> >> From there I was able to install my manifest from scratch using guix >> home. >> >> I am still pretty confused about the relationship between guix >> package, guix home and how they interact with packages. It seems like >> I can install many packages by invoking guix install, and then one >> system home reconfigure would undo my links to those packages if they >> aren't included in the home configuration. So it seems like I should >> maintain my package manifest should my interests in which packages to >> keep or discard should change above and beyond a base system. >> >> What's more confusing is after I installed from a clean slate, my >> pinentry broke for gpg. It was fixed by invoking guix install >> pinentry, which required no download or build for pinentry. It seems >> like the de-duplication worked in that case, but I now have (again) >> two divergent records of which packages I should, or should not have. >> >> It feels like I am swinging at a nail with my thumb in the path of the >> hammer. >> >> What exactly is the intended use of guix home? >> >> I am happy to provide my configurations, though, they have evolved >> since my initial message. >> Efraim Flashner writes: >> >>> [[PGP Signed Part:Undecided]] >>> On Tue, Jun 14, 2022 at 08:05:45AM -0700, Tangonov wrote: >>>> I am trying out guix for the first time and feel like I may have >>>> jumped in >>>> head-first into the shallow end of the pool. >>>> I had started out with using guix package for my packages and >>>> updated my env >>>> for around 30 generations. Then I discovered guix home and thought >>>> "hey, >>>> that may be better". >>>> I set up guix home following the documentation and it created my >>>> first home >>>> generation and completely re-installed my packages. >>>> However, after subsequent changes to my home config, a guix home >>>> reconfigure >>>> is now attempting to re-install (and build) my packages all over >>>> again, >>>> despite never having run a guix pull. >>>> I tried to "undo" the initialization of guix home as I feel like I >>>> maybe >>>> should stick to the "older way" for a while longer while I get the >>>> hang of >>>> Guile Scheme and try not to change too much at once. I have been >>>> unable to >>>> revert my initial revision, or find a clear path back without doing >>>> something dramatic. >>>> With all of my history in mind, I have 3 questions: >>>> 1. Is there a supported way to apply incremental changes in guix >>>> home, >>>> without re-doing (and re-compiling) all of my software? >>>> 2. Is there a supported way to revert back to just using GNU Stow >>>> and guix >>>> package? >>>> 3. If I can be happy with guix home, is there any supported way to >>>> remove >>>> potential bloat from having run guix package for 30 generations? >>>> Thanks for the incredible software and help, if you're able. >>>> >>> >>> I suppose the quick answer is to make sure you don't have 'guix' as >>> one >>> of the packages in your config. >>> >>> If you share your config we might be able to see if anything sticks >>> out. > >