Merge pull request #7606 from hercules-ci/recognize-some-flake-attributes

flake check: Recognize well known community attributes
This commit is contained in:
Eelco Dolstra 2023-01-17 13:27:30 +01:00 committed by GitHub
commit 9a32f77a95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
warn("unknown flake output '%s'", name);