Re: guix completion in zsh

2020-05-29 Thread Reza Alizadeh Majd
On Tue, 26 May 2020 23:14:01 +0200 Ludovic Courtès wrote: > I think you need to make sure the Zsh completion file for Guix is > sourced. > Thanks for you response, what is the right location to find this "Zsh completion file"? is it installed during installation of `zsh` package? -- Reza Ali

Re: Questions about guix handling emacs packages

2020-05-29 Thread Fredrik Salomonsson
Hi, zimoun writes: > Re-source the profile seems enough. :-) True, although I usually launch my programs from rofi and I haven't figured out how to re-source the environment for that. > Feel free to give a try and report on help-guix or guix-devel or #guix > your progress or you are stuck. Th

Re: Guix Docker image inflation

2020-05-29 Thread zimoun
Hi Chris, On Sat, 30 May 2020 at 01:31, Chris Marusich wrote: > Could it be that you are accumulating layers without bound? > > https://developers.redhat.com/blog/2016/03/09/more-about-docker-images-size/ > > Since Docker images are built up of immutable layers, if you build your > image from an

Re: Guix Docker image inflation

2020-05-29 Thread Chris Marusich
Stephen Scheck writes: > Hello, > > As an exercise, I set up daily Guix System Docker image builds using GitLab > and Docker Hub, here: > https://hub.docker.com/repository/registry-1.docker.io/singularsyntax/guix/tags?page=1 > > The build process works as follows: if an existing `latest` image do

Re: Guix Docker image inflation

2020-05-29 Thread Stephen Scheck
On Fri, May 29, 2020 at 5:54 PM zimoun wrote: > Do you have '/var/' in your Docker image? Because it looks like the same > than: > Yes: root@guix ~# ls -la /var/guix total 44 drwxr-xr-x 1 root root 4096 May 16 19:36 ./ drwxr-xr-x 1 root root 4096 May 29 22:02 ../ drwxr-xr-x 1 root root 4096 Ma

Re: Guix Docker image inflation

2020-05-29 Thread zimoun
On Fri, 29 May 2020 at 23:04, Stephen Scheck wrote: > root@guix /# guix system list-generations > guix system: error: open-file: No such file or directory: > "/var/guix/profiles/system-1-link/parameters" Do you have '/var/' in your Docker image? Because it looks like the same than: > root@loc

Re: Guix Docker image inflation

2020-05-29 Thread Stephen Scheck
On Fri, May 29, 2020 at 2:44 PM zimoun wrote: > On Fri, 29 May 2020 at 20:37, Leo Famulari wrote: > > > > On Fri, May 29, 2020 at 08:21:08PM +0200, Marius Bakke wrote: > > > Leo Famulari writes: > > > > --branch and --commit would be passed to `guix pull`, and then you'd > run > > > > `guix sys

Re: Guix Docker image inflation

2020-05-29 Thread Stephen Scheck
On Fri, May 29, 2020 at 4:02 PM zimoun wrote: > Well, could you try > >guix system delete-generations >guix gc > root@guix /# guix system list-generations guix system: error: open-file: No such file or directory: "/var/guix/profiles/system-1-link/parameters" root@guix /# guix system dele

Re: Guix Docker image inflation

2020-05-29 Thread zimoun
On Fri, 29 May 2020 at 20:47, Stephen Scheck wrote: > Not the point, no, but how else do I obtain a seed Guix Docker image, which I > can use to birth clean, pristine > "baby" images of Guix's own making? It would be really nice if the Guix > project itself provided such an image! Help welcome

Re: Guix Docker image inflation

2020-05-29 Thread Stephen Scheck
On Fri, May 29, 2020 at 2:08 PM zimoun wrote: > How the initial Docker image > singularsyntax/guix-bootstrap:1.1.0-alpine-3.11 is built? > To understand, you use the Docker image > singularsyntax/guix-bootstrap:1.1.0-alpine-3.11 to build another > Docker image namely guix-docker-image.tar using G

Re: Guix Docker image inflation

2020-05-29 Thread Marius Bakke
Leo Famulari writes: >> How else would you suggest that it be done? It would be nice if `guix >> system docker-image` >> took `--branch` and `--commit` options to build a container from a >> well-defined Guix check-in >> state, but that doesn't seem to be the case. And in any case - too slow. >>

Re: Guix Docker image inflation

2020-05-29 Thread zimoun
On Fri, 29 May 2020 at 20:37, Leo Famulari wrote: > > On Fri, May 29, 2020 at 08:21:08PM +0200, Marius Bakke wrote: > > Leo Famulari writes: > > > --branch and --commit would be passed to `guix pull`, and then you'd run > > > `guix system docker-image` based on that. > > > > There is also 'guix t

Re: Guix Docker image inflation

2020-05-29 Thread Leo Famulari
On Fri, May 29, 2020 at 08:21:08PM +0200, Marius Bakke wrote: > Leo Famulari writes: > > --branch and --commit would be passed to `guix pull`, and then you'd run > > `guix system docker-image` based on that. > > There is also 'guix time-machine --commit=abc123 -- system docker-image'. Right, tha

Re: Guix Docker image inflation

2020-05-29 Thread Stephen Scheck
On Fri, May 29, 2020 at 2:02 PM Leo Famulari wrote: > Okay. For debugging, can you try garbage collecting those modules > directories? And if the garbage collector refuses, you can investigate > why with the 3 R's of Guix garbage collection, --referrers, > --references, and --requisites. > # Hmm

Re: Guix Docker image inflation

2020-05-29 Thread zimoun
Dear, On Wed, 27 May 2020 at 21:42, Stephen Scheck wrote: > https://gitlab.com/singularsyntax-docker-hub/guix/-/blob/master/.gitlab-ci.yml How the initial Docker image singularsyntax/guix-bootstrap:1.1.0-alpine-3.11 is built? To understand, you use the Docker image singularsyntax/guix-bootstra

Re: Guix Docker image inflation

2020-05-29 Thread Leo Famulari
On Fri, May 29, 2020 at 01:56:28PM -0400, Stephen Scheck wrote: > > > "guix-system$|guix-packages-base$|guix-[0-9a-f]*-modules$" > > [...] > > > 191M > > /gnu/store/l3amdz5xyhflg5wdzlxr2685dq5glic2-guix-527ab3125-modules > > > 201M > > /gnu/store/5mhn1ynxvy7jihsknsnv3yspkkvc0r5s-guix-2e59ae

Re: Guix Docker image inflation

2020-05-29 Thread Stephen Scheck
On Fri, May 29, 2020 at 1:08 PM Leo Famulari wrote: > I'm still not quite sure what you are doing (or what Docker does) so > please bear with me. > > > root@localhost /# du -h --max-depth=1 /gnu/store | egrep > > "guix-system$|guix-packages-base$|guix-[0-9a-f]*-modules$" > [...] > > 191M

Re: Guix Docker image inflation

2020-05-29 Thread Stephen Scheck
On Fri, May 29, 2020 at 1:12 PM zimoun wrote: > Dear Stephen, > > I am not sure to follow all the Docker dance. Well, if I understand > correctly, you did: > > guix package --delete-generations > guix gc > > which remove all except the current profile, i.e., ~/.guix-profile. > However, t

Re: Guix Docker image inflation

2020-05-29 Thread zimoun
Dear Stephen, I am not sure to follow all the Docker dance. Well, if I understand correctly, you did: guix package --delete-generations guix gc which remove all except the current profile, i.e., ~/.guix-profile. However, there is another profile '~/.config/guix/current' which is the pro

Re: Guix Docker image inflation

2020-05-29 Thread Leo Famulari
On Fri, May 29, 2020 at 12:19:46PM -0400, Stephen Scheck wrote: > The previous day's Docker image is used as the base for the new one being > built - the image is pulled from Docker Hub, `guix pull` is run inside it, > and a new > image is "committed" (Docker terminology for creating a new image fr

Re: Guix Docker image inflation

2020-05-29 Thread Stephen Scheck
On Thu, May 28, 2020 at 3:33 PM Leo Famulari wrote: > I'm not familiar with Docker so I'm not sure exactly what you are doing. > Specifically, I can't tell if you are creating new Docker images from > scratch each day, or if you are continuing to use the same one from day > to day. The previous d

Re: ffmpeg and alsa/pulseaudio

2020-05-29 Thread Ekaitz Zarraga
‐‐‐ Original Message ‐‐‐ On Friday, May 29, 2020 3:34 AM, Leo Famulari wrote: > On Tue, Apr 07, 2020 at 11:54:35AM +, Ekaitz Zarraga wrote: > > > Hi, > > I'm trying to make a screencast with ffmpeg and I'm having issues. > > I had a screen recording script on the past, based on alsa,