diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-05-25 12:01:16 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-05-25 15:10:11 +0200 |
commit | cbac0b1db0d8a2e10438e319e9391f95355b2ebe (patch) | |
tree | fc95078d03686a8914c1b785f4f7cbbe82d8c1a7 /gnu | |
parent | 9756d9d6345fb142944261174453ab0a597cc2e7 (diff) | |
download | guix-cbac0b1db0d8a2e10438e319e9391f95355b2ebe.tar.gz guix-cbac0b1db0d8a2e10438e319e9391f95355b2ebe.zip |
environment: Fix type error with ‘-C’ when ‘getpwuid’ fails.
Fixes a bug with ‘guix shell -C …’ in cases where ‘getpwuid’
returns #f (for example because nscd isn’t running) and
‘user’ is #f.
* guix/scripts/environment.scm (launch-environment/container): Use
‘name’ when building the ‘directory’ value, not ‘user’ since it can be #f.
Change-Id: I5da807d982a1edbb4122ac29b5a1e5fc4b0ce1b7
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions