Clean up combinator/permission naming
The term `combinator` was overloaded before, being used to refer both to the functions that are exposed to help build a jail, and their return value to be passed into `jail`/`basePermissions`. This commit renames the latter to `Permission`.
This commit is contained in:
parent
f18f1cf701
commit
09edd097b9
4 changed files with 60 additions and 51 deletions
|
|
@ -66,7 +66,7 @@ following positional arguments:
|
|||
be a derivation like `pkgs.hello`, or a string like
|
||||
`"${pkgs.hello}/bin/hello"`. If a derivation is passed it will call
|
||||
`nixpkgs.lib.getExe` on it to get the entrypoint.
|
||||
* **combinators**: (List of **Combinators**) - The third argument allows you to
|
||||
* **permissions**: (List of **Permissions**) - The third argument allows you to
|
||||
control the permissions of the jail. By default, the wrapped program runs
|
||||
with very few permissions and to get it to even work you will need to define
|
||||
what you want it to have access to here. For convenience, if this argument is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue