From a25054021389e97fb9a4fa27847a30fe3f5819d3 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Fri, 21 Nov 2025 12:48:21 +0000 Subject: [PATCH] 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`. --- modules/top-level/output.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/top-level/output.nix b/modules/top-level/output.nix index 6c3a11be..d49c5854 100644 --- a/modules/top-level/output.nix +++ b/modules/top-level/output.nix @@ -1,6 +1,7 @@ { pkgs, config, + options, lib, ... }: @@ -319,6 +320,9 @@ in printInitPackage ]; meta.mainProgram = "nvim"; + passthru = { + inherit config options; + }; }; printInitPackage = pkgs.writeShellApplication {