mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35: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
|
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
|
# List of files containing configurations
|
||||||
testFiles = fetchTests ./test-sources;
|
testFiles = fetchTests ./test-sources;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue