Merge pull request #219860 from hesiod/write-shell-application

writeShellApplication: Prefer lib.getExe over unwrapped ShellChecked
This commit is contained in:
Ilan Joselevich 2023-03-07 20:37:17 +02:00 committed by GitHub
commit 99de63aafa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -341,7 +341,7 @@ rec {
if checkPhase == null then ''
runHook preCheck
${stdenv.shellDryRun} "$target"
${shellcheck.unwrapped}/bin/shellcheck "$target"
${lib.getExe shellcheck} "$target"
runHook postCheck
''
else checkPhase;