diff --git a/pkgs/build-support/trivial-builders.nix b/pkgs/build-support/trivial-builders.nix index 413ed65852f5..ce3dfc83e18e 100644 --- a/pkgs/build-support/trivial-builders.nix +++ b/pkgs/build-support/trivial-builders.nix @@ -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;