When running NP_RUNTIME=bwrap nix-portable nix shell nixpkgs#bashInteractive, it first complains with a non-fatal error: groups: cannot find name for group ID xxx.
Then in the spawned bash shell, the program whoami and ssh stop working with error No user exists for uid.
When running
NP_RUNTIME=bwrap nix-portable nix shell nixpkgs#bashInteractive
, it first complains with a non-fatal error:groups: cannot find name for group ID xxx
.Then in the spawned bash shell, the program
whoami
andssh
stop working with errorNo user exists for uid
.This is a similar issue to https://github.com/nix-community/nix-user-chroot/issues/112