wrapperManagerLib.env
The VERY VERY root of wrapper-manager. This is the subset involving wrapper-manager environments. So far, you can evaluate and build a wrapper-manager configuration.
This means in theory, you could build wrapper-manager packages inside of a wrapper-manager configuration. (But I don’t encourage it.)
wrapperManagerLib.env.build
Given the attrset for evaluating a wrapper-manager module, return a derivation containing the wrapper.
Arguments
It has the same arguments as
wrapperManagerLib.env.eval
.
wrapperManagerLib.env.eval
Evaluate a wrapper-manager configuration.
Arguments
Its argument only expects a sole attribute set with the following attributes:
- pkgs
-
A nixpkgs instance.
- lib
-
The nixpkgs library subset. Defaults to
pkgs.lib
from the given nixpkgs instance. - modules
-
A list of additional wrapper-manager modules to be imported (typically the wrapper-manager configuration and additional modules) for the final configuration.
- specialArgs
-
An additional set of module arguments that can be used in
imports
.