aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2024-05-25 12:01:16 +0200
committerLudovic Courtès <ludo@gnu.org>2024-05-25 15:10:11 +0200
commitcbac0b1db0d8a2e10438e319e9391f95355b2ebe (patch)
treefc95078d03686a8914c1b785f4f7cbbe82d8c1a7 /gnu
parent9756d9d6345fb142944261174453ab0a597cc2e7 (diff)
downloadguix-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