mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
17 lines
431 B
Nix
17 lines
431 B
Nix
{
|
|
makeNixvim,
|
|
lib,
|
|
pkgs,
|
|
}: let
|
|
fetchTests = import ./fetch-tests.nix;
|
|
test-derivation = import ./test-derivation.nix {inherit pkgs makeNixvim;};
|
|
inherit (test-derivation) mkTestDerivation;
|
|
|
|
# List of files containing configurations
|
|
testFiles = fetchTests {
|
|
inherit lib pkgs;
|
|
root = ./test-sources;
|
|
};
|
|
in
|
|
# We attempt to build & execute all configurations
|
|
builtins.mapAttrs mkTestDerivation testFiles
|