mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-24 04:35:08 +02:00
parent
e80a8874ac
commit
b1576362a7
2 changed files with 39 additions and 38 deletions
|
@ -35,10 +35,12 @@ let
|
|||
}
|
||||
];
|
||||
};
|
||||
|
||||
# We attempt to build & execute all configurations
|
||||
derivationList = builtins.map (
|
||||
in
|
||||
# We attempt to build & execute all configurations
|
||||
builtins.listToAttrs (
|
||||
builtins.map (
|
||||
{ name, cases }:
|
||||
|
||||
let
|
||||
# The test case can either be the actual definition,
|
||||
# or a child attr named `module`.
|
||||
|
@ -47,7 +49,7 @@ let
|
|||
in
|
||||
{
|
||||
inherit name;
|
||||
path = mkTestDerivationFromNixvimModule {
|
||||
value = mkTestDerivationFromNixvimModule {
|
||||
inherit name;
|
||||
tests = builtins.map (
|
||||
{ name, case }:
|
||||
|
@ -62,6 +64,5 @@ let
|
|||
pkgs = pkgsUnfree;
|
||||
};
|
||||
}
|
||||
) (testFiles ++ [ exampleFiles ]);
|
||||
in
|
||||
pkgs.linkFarm "nixvim-tests" derivationList
|
||||
) (testFiles ++ [ exampleFiles ])
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue