forked from pub-solar/os
set _module.check in evalArgs instead of mkFlake
this makes more sense since evalArgs is the module and it makes the code cleaner
This commit is contained in:
parent
e9675330a7
commit
278ae0e108
|
@ -8,7 +8,7 @@ _: { self, inputs, ... } @ args:
|
||||||
let
|
let
|
||||||
|
|
||||||
config = lib.mkFlake.evalArgs {
|
config = lib.mkFlake.evalArgs {
|
||||||
args = lib.mkMerge [ args { _module.check = false; } ];
|
inherit args;
|
||||||
};
|
};
|
||||||
|
|
||||||
cfg = config.config;
|
cfg = config.config;
|
||||||
|
|
|
@ -187,6 +187,10 @@ let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
# this does not get propagated to submodules
|
||||||
|
# to allow passing flake outputs directly to mkFlake
|
||||||
|
config._module.check = false;
|
||||||
|
|
||||||
options = with types; {
|
options = with types; {
|
||||||
self = mkOption {
|
self = mkOption {
|
||||||
type = flakeType;
|
type = flakeType;
|
||||||
|
|
Loading…
Reference in a new issue