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-11-03 23:08:04 +01:00
parent dcca4fb262
commit b840548d40
2 changed files with 50 additions and 21 deletions
+1 -2
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