diff options
author | Luigi Sartor Piucco <luigipiucco@gmail.com> | 2021-02-23 11:44:16 -0300 |
---|---|---|
committer | Luigi Sartor Piucco <luigipiucco@gmail.com> | 2021-02-23 11:44:16 -0300 |
commit | 12c2eae2c50f81ab6207c224dbe7d71a529db4ec (patch) | |
tree | 32039f251901d6055015c69e8078defc1b035718 /pkgs/build-support/build-fhs-userenv-bubblewrap | |
parent | f9d9740e68e5f9f5901edf284fdda76e366db9c9 (diff) |
build-fhs-userenv-bubblewrap: add folders comment
Diffstat (limited to 'pkgs/build-support/build-fhs-userenv-bubblewrap')
-rw-r--r-- | pkgs/build-support/build-fhs-userenv-bubblewrap/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/build-support/build-fhs-userenv-bubblewrap/default.nix b/pkgs/build-support/build-fhs-userenv-bubblewrap/default.nix index c39b1131f42bc..04f89a0b64c89 100644 --- a/pkgs/build-support/build-fhs-userenv-bubblewrap/default.nix +++ b/pkgs/build-support/build-fhs-userenv-bubblewrap/default.nix @@ -138,6 +138,13 @@ let ${lib.optionalString unshareCgroup "--unshare-cgroup"} --die-with-parent --ro-bind /nix /nix + # Our glibc will look for the cache in its own path in `/nix/store`. + # As such, we need a cache to exist there, because pressure-vessel + # depends on the existence of an ld cache. However, adding one + # globally proved to be a bad idea (see #100655), the solution we + # settled on being mounting one via bwrap. + # Also, the cache needs to go to both 32 and 64 bit glibcs, for games + # of both architectures to work. --tmpfs ${glibc}/etc \ --symlink /etc/ld.so.conf ${glibc}/etc/ld.so.conf \ --symlink /etc/ld.so.cache ${glibc}/etc/ld.so.cache \ |