mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-31 15:30:27 +02:00
standalone: Fix extraSpecialArgs (#799)
This commit fixes the usage of `extraSpecialArgs` for standalone nixvim installations and adds a test to ensure this. Fixes #779
This commit is contained in:
parent
dc14748fe7
commit
1f652b60e5
3 changed files with 32 additions and 4 deletions
|
@ -12,13 +12,11 @@ default_pkgs: {
|
|||
|
||||
shared = import ./_shared.nix modules {
|
||||
inherit pkgs lib;
|
||||
config = {
|
||||
_module.args = extraSpecialArgs;
|
||||
};
|
||||
config = {};
|
||||
};
|
||||
|
||||
eval = lib.evalModules {
|
||||
modules = [module wrap] ++ shared.topLevelModules;
|
||||
modules = [module wrap {_module.args = extraSpecialArgs;}] ++ shared.topLevelModules;
|
||||
};
|
||||
|
||||
handleAssertions = config: let
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue