testers.shellcheck: specify script source path (#405192)

This commit is contained in:
Atemu
2025-05-17 12:20:22 +02:00
committed by GitHub
@@ -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"