[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#43034] [PATCH] environment: Set USER and LOGNAME in container
From: |
Lars-Dominik Braun |
Subject: |
[bug#43034] [PATCH] environment: Set USER and LOGNAME in container |
Date: |
Tue, 25 Aug 2020 10:58:24 +0200 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
Hi,
I noticed `guix environment -C` lacks the two environment variable USER and
LOGNAME, which are part of %precious-variables (i.e. not cleared), but not
explicitly set when using a container. Some programs, in my case RStudio (see
https://github.com/leibniz-psychology/psychnotebook-app-rstudio/commit/3e15b9b173b8a9d2a7f55743ecba24e54b77ffad),
expect these to be set and can’t function properly without. Thus, the attached
patch exports them. This works with and without `-u`.
Cheers,
Lars
0001-environment-Set-USER-and-LOGNAME-in-container.patch
Description: Text Data
signature.asc
Description: PGP signature
- [bug#43034] [PATCH] environment: Set USER and LOGNAME in container,
Lars-Dominik Braun <=