mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
tests: add useful attrs to test passthru
This commit is contained in:
parent
1f56d947af
commit
ff46e752a1
1 changed files with 8 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue