mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos: Expose lib attribute on configuration for repl
This commit is contained in:
parent
50d0eb6c9f
commit
8e934650ce
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ let
|
||||||
withExtraAttrs = configuration: configuration // {
|
withExtraAttrs = configuration: configuration // {
|
||||||
inherit extraArgs;
|
inherit extraArgs;
|
||||||
inherit (configuration._module.args) pkgs;
|
inherit (configuration._module.args) pkgs;
|
||||||
|
inherit lib;
|
||||||
extendModules = args: withExtraAttrs (configuration.extendModules args);
|
extendModules = args: withExtraAttrs (configuration.extendModules args);
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue