mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-31 16:14:46 +02:00
standalone: Allow to pass extraSpecialArgs (#665)
This commit is contained in:
parent
2f06f921e0
commit
0c5dcb56d1
4 changed files with 12 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
default_pkgs: modules: {
|
||||
pkgs ? default_pkgs,
|
||||
extraSpecialArgs ? {},
|
||||
module,
|
||||
}: let
|
||||
inherit (pkgs) lib;
|
||||
|
@ -8,7 +9,9 @@ default_pkgs: modules: {
|
|||
|
||||
shared = import ./_shared.nix modules {
|
||||
inherit pkgs lib;
|
||||
config = {};
|
||||
config = {
|
||||
_module.args = extraSpecialArgs;
|
||||
};
|
||||
};
|
||||
|
||||
eval = lib.evalModules {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue