Subject: bug#78364: Home is not mapped correctly by guix shell container if it is a symlinked.

From: keinflue <[email-masked]>
Date: Sat, 10 May 2025 23:18:12 +0000

I have /home symlinked to /data/home, causing guix shell to not map the 
home directory correctly:

user@guix ~$ cd ~
user@guix ~$ touch test
user@guix ~$ guix shell -C coreutils
user@guix /data/home/user [env]$ ls -l ~
total 0

Also, the -u Option does not recognize that the current working 
directory is part of the home directory in this case and doesn't map it 
to the guest user home directory either.

Is this supposed to be supported? (If need be I could bind-mount home 
instead.)