test/shellcheck-services: add configurable source prefix

This allows using this module for services defined outside of nix-bitcoin.
This commit is contained in:
Erik Arvstedt 2022-10-22 19:37:44 +02:00
parent dcca4fb262
commit b840548d40
No known key found for this signature in database
GPG key ID: 33312B944DD97846
2 changed files with 50 additions and 21 deletions

View file

@ -22,8 +22,7 @@ name: testConfig:
cores = lib.mkDefault 2;
};
# Run shellcheck on all nix-bitcoin services during machine build time
system.extraDependencies = [ config.test.shellcheckServices ];
test.shellcheckServices.enable = true;
};
testScript = nodes: let