lib/config: update extraArgs to _module.args
This commit is contained in:
parent
2eefed33b3
commit
aa0ffa8aa2
|
@ -4,14 +4,14 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
result = pkgs.lib.evalModules {
|
result = pkgs.lib.evalModules {
|
||||||
args = {
|
|
||||||
inherit self pkgs;
|
|
||||||
};
|
|
||||||
modules = [
|
modules = [
|
||||||
(
|
(
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
{
|
{
|
||||||
|
config._module.args = {
|
||||||
|
inherit self pkgs;
|
||||||
|
};
|
||||||
options.assertions = mkOption {
|
options.assertions = mkOption {
|
||||||
type = with types; listOf unspecified;
|
type = with types; listOf unspecified;
|
||||||
internal = true;
|
internal = true;
|
||||||
|
|
Loading…
Reference in New Issue