doc:fhs-envs: mention that runScript must be escaped by the caller

This commit is contained in:
Atemu 2023-05-21 12:48:58 +02:00 committed by Anderson Torres
parent d5f0da152a
commit 8912c50fc7

View File

@ -17,7 +17,8 @@
- `extraInstallCommands`
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`.
A shell command to be executed inside the sandbox. It defaults to `bash`. Command line arguments passed to the resulting wrapper are appended to this command by default.
This command must be escaped; i.e. `"foo app" --do-stuff --with "some file"`. See `lib.escapeShellArgs`.
- `profile`
Optional script for `/etc/profile` within the sandbox.