Hi John, John Kehayias skribis: > From de7ae9b203a65e1ec1b1429ca4076f3f91b1ae33 Mon Sep 17 00:00:00 2001 > From: John Kehayias > Date: Wed, 20 Jul 2022 23:46:45 -0400 > Subject: [PATCH] environment: Add '--emulate-fhs'. > > * guix/scripts/environment.scm (show-environment-options-help, %options): Add > '--emulate-fhs'. > (setup-fhs): New procedure. Setup for the Filesystem Hierarchy Standard (FHS) > container. Defines and uses FHS-SYMLINKS and LINK-CONTENTS to create FHS > expected directories and creates /etc/ld.so.conf. > (launch-environment): Add 'emulate-fhs?' key and implement it to set $PATH and > generate /etc/ld.so.cache before calling COMMAND. > (launch-environment/container): Add 'emulate-fhs?' and 'setup-hook' keys and > implement them. Define and use FHS-MAPPINGS, to set up additional bind mounts > in the container to follow FHS expectations. > (guix-environment*): Add glibc-for-fhs to the container packages when > 'emulate-fhs?' key is in OPTS. > * doc/guix.texi (Invoking guix shell): Document '--emulate-fhs'. > (Invoking guix environment): Document '--emulate-fhs'. > * tests/guix-environment-container.sh: Add tests for '--emulate-fhs'. This new version of the patch looks great to me! I applied it and took the liberty to make the changes below; let me know if anything’s amiss. Pushed together with a news entry: 2c11e857af news: Add entry for 'guix shell --emulate-fhs'. c7ba5f38b8 environment: Add '--emulate-fhs'. 3d1d29e440 gnu: Add glibc-for-fhs. Thanks a lot for your work and for your patience! Ludo’.