Filter out (mosts test) when !doCheck

This commit is contained in:
John Ericson
2024-01-25 13:27:05 -05:00
parent 4bbc7b8f75
commit 73b6c1fb11
3 changed files with 24 additions and 9 deletions

View File

@ -144,9 +144,12 @@ stdenv.mkDerivation (finalAttrs: {
./src
./doc
./hydra-module.nix
# TODO only when `doCheck`
./t
# These are always needed to appease Automake
./t/Makefile.am
./t/jobs/config.nix.in
./t/jobs/declarative/project.json.in
] ++ lib.optionals finalAttrs.doCheck [
./t
./.perlcriticrc
./.yath.rc
]);