From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: Re: Guix development on GuixSD, recommended setup and process Date: Tue, 31 Mar 2020 11:48:07 -0400 Message-ID: <1FCD97C4-96DC-4AF1-BED3-AB14973BC96E@lepiller.eu> References: <7c52f508-7b83-4e56-9123-634cb23b00b7@localhost> <37db5bd5-290a-478e-b0d6-5aa252100466@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37578) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJJ7n-0001xY-Ul for help-guix@gnu.org; Tue, 31 Mar 2020 11:48:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJJ7m-0007ka-FG for help-guix@gnu.org; Tue, 31 Mar 2020 11:48:23 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:35000) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jJJ7l-0007eI-Rh for help-guix@gnu.org; Tue, 31 Mar 2020 11:48:22 -0400 In-Reply-To: <37db5bd5-290a-478e-b0d6-5aa252100466@localhost> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org, =?UTF-8?B?55m944GE54aK?= Le 31 mars 2020 09:59:23 GMT-04:00, "=E7=99=BD=E3=81=84=E7=86=8A" a =C3=A9crit : >Mar 31, 2020 14:32:26 Julien Lepiller : > >> Hi =E7=99=BD=E3=81=84=E7=86=8A, > >Hi Julien: > >Thanks for your tips=2E > >> In terms of packages, they are the same: there is no difference >between the hash of a package built from a git commit and a package >built from guix (pulled at the same commit), so there is no more >duplication than usual, especially since I pull every few days anyway=2E > >But is the GuixSD going to pull in changes from the git =E2=80=94 do they= get >propagated soon? I thought the system is more =E2=80=9Cstable=E2=80=9D in= terms of not >using the latest git pushed changes=2E No, Guix System will be configured with the guix you used=2E If you pulled= recently, you get a recent system=2E Otherwise, you get an older system=2E= Your cloned repository is separate from guix itself, but as you noted, you= can use pre-inst-env to use that version=2E Unless you have local changes = you want to use in your system, running guix pull and guix system reconfigu= re is the same as running reconfigure from your git checkout=2E In fact, gu= ix pull is more or less a wrapper around git pull :) > >> My system is always minimal, and I install packages in my user >profile (or actually my home manager's profile)=2E > >I'd like to do this, but don't know how to go about in =E2=80=94 could yo= u help >me with a simple example? The simplest way to do that is to use your default profile, with guix pack= age and its aliases=2E I=2Em talking about the profile created by guix home= , my home manager, but I don't really recommend uting it yet=2E You can sti= ll find it at https://framagit=2Eorg/tyreunom/guix-home-manager > >I've read the =E2=80=9CGuix profiles in practice=E2=80=9D=C2=B9 webpage, = but don't >understand how to simply implement them like this? > >I know how to declare a system and install GuixSD=2E So let's say, I'll >have a minimal system=2E Now I'd like to have StumpWM as the WM and then >let's say Emacs, MC, and LibreOffice as user apps=2E I think you need StumpWM to be part of your system profile (in the package= field of your operating-system declaration)=2E Then as your user, you can = install your other software with: guix install emacs mc libreoffice You can also use a manifest to more explicitely track installed packages= =2E You will want more profiles if you do development or want some special-= purpose profiles for other reasons=2E Software you will use in general shou= ld go to your default profile, as they will always be available=2E > >Should I have two profiles =E2=80=94 one for the home manager with StumpW= M and >one for shiroikuma (myself, the user) with mc, emacs, and libreoffice >in it? Sorry for talking about the home manager, I tgink I confused you=2E As I s= aid above, your window manager or desktop manager should go in the system p= rofile, other software in your user profile=2E >What should they be =E2=80=94 I'm not experienced enough to write them=2E= Where >do I call / declare them, how do I then update? > >Sorry for going so in depth =E2=80=94 but if you could post the full prof= ile >text for this simple case and give me guidance on how to use it, I'd be >much obliged=2E It's fine, ask as much as you want :) > >Many thanks! :@) >=E2=80=94 >[1] https://guix=2Egnu=2Eorg/blog/2019/guix-profiles-in-practice/