From a7784fe00a07a9e14df8014b8009491dddb6c652 Mon Sep 17 00:00:00 2001 From: Mauricio Scheffer Date: Sun, 11 Jul 2021 18:12:19 +0100 Subject: [PATCH] buildFHSUserEnv: document `profile` parameter --- doc/builders/special/fhs-environments.section.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/builders/special/fhs-environments.section.md b/doc/builders/special/fhs-environments.section.md index 146ded532404..43dc99b7c18f 100644 --- a/doc/builders/special/fhs-environments.section.md +++ b/doc/builders/special/fhs-environments.section.md @@ -18,6 +18,8 @@ Additional commands to be executed for finalizing the derivation with runner script. - `runScript` A command that would be executed inside the sandbox and passed all the command line arguments. It defaults to `bash`. +- `profile` + Optional script for `/etc/profile` within the sandbox. One can create a simple environment using a `shell.nix` like that: