Hi Mike, Mike Gerwitz skribis: > This change is motivated by attempts to run programs (like GNU IceCat) within > containers. The 'fontconfig' program, for example, is configured explicitly > to check ~/.guix-profile for additional fonts. > > There were no existing container tests in 'tests/guix-environment.sh', but I > added one anyway for this change. > > * doc/guix.texi (Invoking guix environment): Add '--link-profile'. > * guix/scripts/environment.scm (show-help): Add '--link-profile'. > (%options): Add 'link-profile' as '#\P', assigned to 'link-profile?'. > (lnk-environment): New procedure. > (launch-environment/container): Use it when 'link-profile?'. > [link-profile?]: New parameter. > (guix-environment): Leave when '--link-prof' but not '--container'. Add > '#:link-profile?' argument to 'launch-environment/container' application. > * tests/guix-environment.sh: New '--link-profile' test. Sorry for forgetting about this patch series. It’s perfect, and very useful! I applied this one with the changes below. The main change is moving the test to guix-environment-container.sh, which is skipped when user namespaces are not supported. Thank you! Ludo’.