tests: add useful attrs to test passthru

This commit is contained in:
Matt Sturgeon 2025-03-24 22:50:32 +00:00
parent 1f56d947af
commit ff46e752a1
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -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;