testers.shellcheck: specify script sourcepath

This commit is contained in:
Léana 江
2025-05-08 12:23:13 +02:00
parent 8b9086b2dd
commit f85b04bd6f
@@ -27,7 +27,7 @@ stdenvNoCC.mkDerivation {
dontConfigure = true;
dontBuild = true;
checkPhase = ''
find "$src" -type f -print0 | xargs -0 shellcheck
find "$src" -type f -print0 | xargs -0 shellcheck --source-path="$src"
'';
installPhase = ''
touch "$out"