GNU bug report logs -
#38528
Add test for `guix pull'
Previous Next
Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>
Date: Sun, 8 Dec 2019 15:40:01 UTC
Severity: normal
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 38528 <at> debbugs.gnu.org (full text, mbox):
Hi,
Thank Pierre to raise this issue.
On Sun, 8 Dec 2019 at 16:40, Pierre Neidhardt <mail <at> ambrevar.xyz> wrote:
> The current way to do it is to run
>
> guix pull --url=/path/to/checkout --profile=/tmp/guix.master
When I put that in a test -- say tests/guix-pull.sh -- troubles
arises... The main one appears because there is no user (chroot
environment I guess). Currently, Guix looks at $USER and $LOGNAME then
goes in "default" and applies "Migrating" profile code. Note that it
appears too with non login shell as reported here [1], perhaps not
related.
[1] https://lists.gnu.org/archive/html/guix-devel/2019-12/msg00021.html
What is the best:
- set manually the variable USER to `whoami`?
or - change to scheme code to call `whoami`? Does Guile expose that?
All the best,
simon
This bug report was last modified 2 years and 357 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.