mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-03 17:45:03 +02:00
wrappers/standalone: make pkgs
arg optional, allow specifying system
This commit is contained in:
parent
8c6f9ed8c4
commit
9bf4c9d55b
4 changed files with 44 additions and 17 deletions
|
@ -18,12 +18,12 @@
|
|||
];
|
||||
|
||||
perSystem =
|
||||
{ pkgs, system, ... }:
|
||||
{ system, ... }:
|
||||
let
|
||||
nixvimLib = nixvim.lib.${system};
|
||||
nixvim' = nixvim.legacyPackages.${system};
|
||||
nixvimModule = {
|
||||
inherit pkgs;
|
||||
inherit system; # or alternatively, set `pkgs`
|
||||
module = import ./config; # import the module directly
|
||||
# You can use `extraSpecialArgs` to pass additional arguments to your module files
|
||||
extraSpecialArgs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue