Re: Install `guix pull'ed Guix to target partition on system install

2020-12-21 Thread zimoun
Hi Pierre, Re-reading all the thread. On Sun, 20 Dec 2020 at 10:12, Pierre Neidhardt wrote: > I just installed Guix System on a new machine: > > - guix pull -C my-channels.scm Did you really do this “guix pull”? Because it is… > - guix system init ... /mnt > - reboot > > Now on my fresh

Re: Install `guix pull'ed Guix to target partition on system install

2020-12-21 Thread zimoun
Hi Pierre, On Mon, 21 Dec 2020 at 20:39, Pierre Neidhardt wrote: > On a related topic, if 2 users "guix pull", is the whole checkout cloned > twice? >From my understanding yes, as I explained before. Well, I have never timed when installing in a WM a complete Guix System with the installer.

Re: Running postgres with shepherd as user-level service?

2020-12-21 Thread Joshua Branson
Hey Carlo, I am SUPER NOT a guix developer, but I figured I'd respond to your email. Please bear in mind I am making this up as I go along. :) It sounds like your user postgresql service is not even generating a postgresql config file. It sounds like it is error-ing out before anything

Re: Install `guix pull'ed Guix to target partition on system install

2020-12-21 Thread Pierre Neidhardt
zimoun writes: > The “guix pull” done by root. But then you run “guix pull” as user; > your words. :-) Yes, this is expected. The installation media has a root user, none of the users that are going to end up on the installed system. On a related topic, if 2 users "guix pull", is the whole

Re: Install `guix pull'ed Guix to target partition on system install

2020-12-21 Thread zimoun
On Mon, 21 Dec 2020 at 18:12, Pierre Neidhardt wrote: > zimoun writes: > >> Well, I do not understand what is your issue. Because I am probably not >> enough familiar with the installation process. > > It's actually quite simple: The "guix pull" done when running the > installation media is not

Re: Install `guix pull'ed Guix to target partition on system install

2020-12-21 Thread Pierre Neidhardt
zimoun writes: > Well, I do not understand what is your issue. Because I am probably not > enough familiar with the installation process. It's actually quite simple: The "guix pull" done when running the installation media is not persisted on the target disk. > --8<---cut

Re: Install `guix pull'ed Guix to target partition on system install

2020-12-21 Thread zimoun
Hi, Well, I do not understand what is your issue. Because I am probably not enough familiar with the installation process. On Mon, 21 Dec 2020 at 17:49, Pierre Neidhardt wrote: >> But I do not think the “cloning” part is the consuming one here; even if >> it obviously depends on the network.

Re: Install `guix pull'ed Guix to target partition on system install

2020-12-21 Thread Pierre Neidhardt
zimoun writes: > Therefore, the missing store items from the RAM store could be > transferred to installation target via ‘guix archive’. But I don't think `guix pull' looks for a repository in the store. > But I am > surprised that after rebooting this /gnu/store misses items that you > need

Re: Install `guix pull'ed Guix to target partition on system install

2020-12-21 Thread zimoun
Hi, On Mon, 21 Dec 2020 at 15:47, Pierre Neidhardt wrote: >> I am not familiar with the installation process. I miss where this >> first “guix pull” writes: >> >> - the cached checkout >> - the store items > > The first "guix pull" write in memory (RAM), so it's all ephemeral. > >> I am

Re: Install `guix pull'ed Guix to target partition on system install

2020-12-21 Thread zimoun
On Mon, 21 Dec 2020 at 14:33, Pierre Neidhardt wrote: > zimoun writes: > >> Therefore, since the 2 profiles could be seen as independent, I do not >> know if it is possible to really improve here; by design. >> >> The first pull could be long and resource hungry but the second one >> should be a

Re: Install `guix pull'ed Guix to target partition on system install

2020-12-21 Thread Pierre Neidhardt
zimoun writes: > Therefore, since the 2 profiles could be seen as independent, I do not > know if it is possible to really improve here; by design. > > The first pull could be long and resource hungry but the second one > should be a bit quicker. Well, it depends on how many commits are done >

Re: Install `guix pull'ed Guix to target partition on system install

2020-12-21 Thread zimoun
Hi, On Mon, 21 Dec 2020 at 13:26, Pierre Neidhardt wrote: >> This is done as root, right? > > Yes, since the install media has no other user. [...] >>> I've got to do on reboot it rerun >>> >>> --8<---cut here---start->8--- >>> guix pull -C my-channels.scm

Re: Install `guix pull'ed Guix to target partition on system install

2020-12-21 Thread Pierre Neidhardt
zimoun writes: > On Sun, 20 Dec 2020 at 10:12, Pierre Neidhardt wrote: > >> I just installed Guix System on a new machine: >> >> - guix pull -C my-channels.scm >> - guix system init ... /mnt >> - reboot > > This is done as root, right? Yes, since the install media has no other user. >> Now

Re: guix pull only from private channel

2020-12-21 Thread zimoun
Hi, On Sat, 19 Dec 2020 at 12:28, Phil wrote: > The bit I was missing was how do I create a channels file that keeps > 'guix' at a constant commit - the scheme snippet you sent me is perfect, and > gave me a good way-in to the API - thanks! Do not take the snippet as bullet-proof. It is a

Re: Install `guix pull'ed Guix to target partition on system install

2020-12-21 Thread zimoun
Hi Pierre, On Sun, 20 Dec 2020 at 10:12, Pierre Neidhardt wrote: > I just installed Guix System on a new machine: > > - guix pull -C my-channels.scm > - guix system init ... /mnt > - reboot This is done as root, right? > > Now on my fresh system, the only Guix available is the one from the

Re: Emacs 27.1 crashes on input method selection

2020-12-21 Thread Zelphir Kaltstahl
Hello Mei Yu, On 12/21/20 4:57 AM, Peng Mei Yu wrote: > Hi Zelphir, > > Zelphir Kaltstahl writes: > >> I installed Emacs 27.1. via GNU Guix and I found one action, which >> always crashes Emacs in this version, while it did not do that before: >> >> M-x set-input-method RET chinese-py RET >> >>