From 3e7e6ab84a5a4facdbeea8941af9df471d66c839 Mon Sep 17 00:00:00 2001 From: Artturin Date: Fri, 25 Feb 2022 01:08:47 +0200 Subject: buildFHSUserEnv{Chroot,Bubblewrap}: link gsettings-schemas to the FHS location We shouldn't need to use wrapGAppsHook in expressions that use this builder. --- doc/builders/special/fhs-environments.section.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/builders/special/fhs-environments.section.md') diff --git a/doc/builders/special/fhs-environments.section.md b/doc/builders/special/fhs-environments.section.md index 43dc99b7c18f..cacad261e28f 100644 --- a/doc/builders/special/fhs-environments.section.md +++ b/doc/builders/special/fhs-environments.section.md @@ -45,3 +45,5 @@ One can create a simple environment using a `shell.nix` like that: ``` Running `nix-shell` would then drop you into a shell with these libraries and binaries available. You can use this to run closed-source applications which expect FHS structure without hassles: simply change `runScript` to the application path, e.g. `./bin/start.sh` -- relative paths are supported. + +Additionally, the FHS builder links all relocated gsettings-schemas (the glib setup-hook moves them to `share/gsettings-schemas/${name}/glib-2.0/schemas`) to their standard FHS location. This means you don't need to wrap binaries with `wrapGAppsHook`. -- cgit 1.4.1