1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-16 22:11:09 +01:00

modules/output: include config and options in build.package

Similar to the legacy "standalone wrapper" `makeNixvimWithModule`,
thread the configuration's `config` and `options` to the final package.

This allows using such a package as the input to functions like
`testNixvim`.
This commit is contained in:
Matt Sturgeon 2025-11-21 12:48:21 +00:00
parent 350ead83e2
commit a250540213

View file

@ -1,6 +1,7 @@
{
pkgs,
config,
options,
lib,
...
}:
@ -319,6 +320,9 @@ in
printInitPackage
];
meta.mainProgram = "nvim";
passthru = {
inherit config options;
};
};
printInitPackage = pkgs.writeShellApplication {