| Main index | Section 5 | Options |
The limited environment does not contain the ability to reference or load other lua modules. Existing loader environment variables may be referenced as if they were already defined global variables.
A lua configuration file may set any global variable, which will subsequently be processed and added to the environment after execution of the configuration file has completed. Other than the exec setting, all variables described in loader.conf(5) operate the same in the loader.conf.lua environment. Note that the settings describing module options can only be set in the environment; there is currently no way for a loader.conf.lua to fetch them. At this time, global table and function values are ignored.
The config.buildenv() hook will be run with an empty environment provided to it that may be populated by a custom local.lua.
| LOADER.CONF.LUA (5) | May 10, 2023 |
| Main index | Section 5 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | A computer would deserve to be called intelligent if it could deceive a human into believing that it was human. | ” |
| — Alan Turing | ||