Added test for template and fixed check export for lib (#361)

This commit is contained in:
Alexander Nortung 2023-05-15 11:04:52 +02:00 committed by GitHub
parent ecaf80b7fd
commit 3600698aba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 40 additions and 9 deletions

View file

@ -4,7 +4,8 @@
pkgs,
}: let
fetchTests = import ./fetch-tests.nix;
mkTestDerivation = import ./test-derivation.nix {inherit pkgs makeNixvim;};
test-derivation = import ./test-derivation.nix {inherit pkgs makeNixvim;};
mkTestDerivation = test-derivation.mkTestDerivation;
# List of files containing configurations
testFiles = fetchTests {

View file

@ -7,7 +7,7 @@
mkTestDerivationFromNvim = {
name,
nvim,
dontRun,
dontRun ? false,
...
}:
pkgs.stdenv.mkDerivation {
@ -55,5 +55,6 @@
inherit name nvim;
inherit (testAttributes) dontRun;
};
in
mkTestDerivation
in {
inherit mkTestDerivation mkTestDerivationFromNvim;
}