mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
lib/modules: remove assertion message for removed check
arg
This commit is contained in:
parent
f1b5c2c593
commit
403d5e23c5
1 changed files with 1 additions and 6 deletions
|
@ -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) ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue