diff --git a/tests/main.nix b/tests/main.nix index 99b53668..56ad65d4 100644 --- a/tests/main.nix +++ b/tests/main.nix @@ -34,7 +34,14 @@ let ]; }; in - configuration.config.build.test; + configuration.config.build.test.overrideAttrs (old: { + passthru = + old.passthru or { } + // builtins.removeAttrs configuration [ "_type" ] + // { + inherit file module; + }; + }); # List of files containing configurations testFiles = fetchTests ./test-sources;