forked from lix-project/lix
flake check: Recognize well known community attributes
This avoids warning fatigue, making `nix flake check` more effective.
This commit is contained in:
parent
2e41ae9f93
commit
4e7592b593
|
@ -655,6 +655,19 @@ struct CmdFlakeCheck : FlakeCommand
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (
|
||||||
|
name == "lib"
|
||||||
|
|| name == "darwinConfigurations"
|
||||||
|
|| name == "darwinModules"
|
||||||
|
|| name == "flakeModule"
|
||||||
|
|| name == "flakeModules"
|
||||||
|
|| name == "herculesCI"
|
||||||
|
|| name == "homeConfigurations"
|
||||||
|
|| name == "nixopsConfigurations"
|
||||||
|
)
|
||||||
|
// Known but unchecked community attribute
|
||||||
|
;
|
||||||
|
|
||||||
else
|
else
|
||||||
warn("unknown flake output '%s'", name);
|
warn("unknown flake output '%s'", name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue