lib/modules: remove assertion message for removed check arg

This commit is contained in:
Matt Sturgeon 2024-12-23 11:54:35 +00:00
parent f1b5c2c593
commit 403d5e23c5
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -21,12 +21,7 @@ in
{
modules ? [ ],
extraSpecialArgs ? { },
check ? null, # TODO: Remove stub
}@args:
# TODO: `check` argument removed 2024-09-24
# NOTE: this argument was always marked as experimental
assert lib.assertMsg (!args ? "check")
"`evalNixvim`: passing `check` is no longer supported. Checks are now done when evaluating `config.build.package` and can be avoided by using `config.build.packageUnchecked` instead.";
}:
# Ensure a suitable `lib` is used
# TODO: offer a lib overlay that end-users could use to apply nixvim's extensions to their own `lib`
assert lib.assertMsg (extraSpecialArgs ? lib -> extraSpecialArgs.lib ? nixvim) ''