Skip to content

Commit 506bec1

Browse files
authored
testers.shellcheck: specify script source path (#405192)
2 parents 5c0c480 + f85b04b commit 506bec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/build-support/testers/shellcheck/tester.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ stdenvNoCC.mkDerivation {
2727
dontConfigure = true;
2828
dontBuild = true;
2929
checkPhase = ''
30-
find "$src" -type f -print0 | xargs -0 shellcheck
30+
find "$src" -type f -print0 | xargs -0 shellcheck --source-path="$src"
3131
'';
3232
installPhase = ''
3333
touch "$out"

0 commit comments

Comments
 (0)