RE: guix gc doesn't seem to clean old guix revision

2019-12-11 Thread YOANN P
> Hi Yoann, Hi Ludo, > I had not understood that.  I guess the patch below fixes it, I’ll push > t shortly. > Thanks, > Ludo’. Look great, but IMO, your addition, "(passwd:name (getpwuid (getuid", should be the only way to get the username since $USER and $LOGNAME could be overridden or uns

RE: guix gc doesn't seem to clean old guix revision

2019-12-02 Thread YOANN P
> > > As said, it is not a bug of "guix pull" but a bug of the > > > configuration. Adding the root user to your Dockerfile should fix the > > > issue you encounter. > > > > The fact that guix require $USER to be set is IMO a kind of bug and is > > documented anywhere. > I do not understand: runni

RE: guix gc doesn't seem to clean old guix revision

2019-11-29 Thread YOANN P
> It is similar to Bug#36785 [1]. > As said, it is not a bug of "guix pull" but a bug of the > configuration. Adding the root user to your Dockerfile should fix the > issue you encounter. The fact that guix require $USER to be set is IMO a kind of bug and is documented anywhere. It will be less p

RE: guix gc doesn't seem to clean old guix revision

2019-11-24 Thread YOANN P
> Like Julien, I find it surprising: where does that “default” come from? > Did you mean “/per-user/default” or really “/default”?  If the latter, > something’s really fishy.  :-) > Ludo’. Hi ludo, I provided a reproducible case with how i arrive at this "weird" state in a previous email. But to

RE: guix gc doesn't seem to clean old guix revision

2019-11-21 Thread YOANN P
> Other said, how can I reproduce the behaviour you are observing? # Download requirements $ mkdir -p /tmp/guix-docker $ wget -O /tmp/guix-docker/Dockerfile https://raw.githubusercontent.com/rockandska/.dotfiles/084b3c6924eeb985cb40edfc90e3827b10ba61e2/.local/opt/dotfiles-bootstrap/tests/Dockerf

RE: guix gc doesn't seem to clean old guix revision

2019-11-20 Thread YOANN P
> Is default a username or the value of $USER maybe? @julien : default is not the name of any user, only root and guix-build users are present under my container > To delete old generations, use `guix system delete-generations`, for > packages, use `guix package` with flag `delete-generations`.

RE: guix gc doesn't seem to clean old guix revision

2019-11-20 Thread YOANN P
After re-reading the doc for 'guix gc', i now know why. It seems that guix pull doesn't change the symlink in /var/guix/profiles/per-user/root/current-guix and is list in gc roots /var/guix/profiles/per-user/root/current-guix --> current-guix-1-link --> /gnu/store/rrhs9c8k0vbpirqplfzh2bf1xczr3z

guix gc doesn't seem to clean old guix revision

2019-11-19 Thread YOANN P
Hi guix, I was testing the creation of guix docker image to be able to have multiple versions : - 1.0.1 ( based on binary installation ) - latest ( based on the last commit from guix git with git pull ) - commit_hash ( specific commit ) And what i observed is it seems that 'guix gc' doesn't cle

[completion] Completion scripts not loaded from ~/.guix-profile/etc/profile

2019-10-11 Thread YOANN P
Hi guix, Not sure if it needs to be add to the guix documentation or directly included in "~/.guix-profile/etc/profile" generation process, but the completion scripts provided by packages seem not to be loaded. For example, if i only install the package "git", the completion scripts for "git" r

RE: ~/.guix-profile/manifest usage with "guix package -m [manifest]" / "guix pack -m [manifest]" etc..

2018-10-01 Thread YOANN P
>De : George Clemmer > >>Ludovic Courtès writes: > >> Hello, >> >> YOANN P skribis: >> >>> I was thinking than "~/.guix-profile/manifest" was a valid manifest file >>> due to his name, but it seems not that is the case from the

RE: ~/.guix-profile/manifest usage with "guix package -m [manifest]" / "guix pack -m [manifest]" etc..

2018-09-27 Thread YOANN P
>De : Ludovic Courtès >Envoyé : mercredi 26 septembre 2018 10:19 >À : YOANN P >Cc : guix-devel@gnu.org >Objet : Re: ~/.guix-profile/manifest usage with "guix package -m [manifest]" / >"guix pack -m [manifest]" etc.. > >Hello, Hi, > >YOANN P

~/.guix-profile/manifest usage with "guix package -m [manifest]" / "guix pack -m [manifest]" etc..

2018-09-25 Thread YOANN P
Hi there, I was thinking than "~/.guix-profile/manifest" was a valid manifest file due to his name, but it seems not that is the case from the error i've got https://pastebin.com/Z7h2t5mL After some search , i've finally understand that the instantiated profile couldn't be used as source prof

RE: Questions regarding "Relocatable" option

2018-06-21 Thread YOANN P
wnloaded. With having the choice of the build, the user could choose overhead or not depending the env he's on, and could deploy his "manifest" he had previously put in scm ( oh yea ) to deploy his environment. Thanks for all of your hard work on this project Ludo Best regards, Y

Questions regarding "Relocatable" option

2018-06-19 Thread YOANN P
Hi Guix, First, thanks for making my day when i read some days ago the post about "Relocatable", what a great news and a killer feature ! Far better than my trick exposed past weeks ago to Ludovic and even better than the wrapper i had imagine to write :) When "proot" will be included in the bi

RE: Questions regarding offloading ( unprivileged setup , parallel builds )

2018-02-05 Thread YOANN P
Hi, Thanks you for yours answers :-) > > Indeed, though if you’re customizing things anyway, you could run: > > ./configure --prefix=/my/prefix --sysconfdir=/my/etc > Thanks, I missed that part sorry > > Several machines can be used at the same time, no worries. :-) > It is really nice if e

Questions regarding offloading ( unprivileged setup , parallel builds )

2018-02-03 Thread YOANN P
Hi Guix team, I didn't find any documentation describing a way to use an alternative file for the offload settings instead of the default /etc/guix/machines.scm. Did i missed something ? Is there other files that are put under /etc ? It could be problematic for users who use custom store/sta

Include Proot-static with binary releases

2018-01-17 Thread YOANN P
Hi Guix Team, Is there any plan to include "proot-static" with Guix Binary releases ? My request is motivated by the fact i'm looking for a way to use/install Guix only with the bin release on a non-privileged environnement (HPC, non root user) without the need to use guix pack on another compu