diff --git a/pkgs/by-name/mu/multiqc/package.nix b/pkgs/by-name/mu/multiqc/package.nix index be3f8ad6ea86..6d49ccda1d43 100644 --- a/pkgs/by-name/mu/multiqc/package.nix +++ b/pkgs/by-name/mu/multiqc/package.nix @@ -5,6 +5,7 @@ procps, stdenv, versionCheckHook, + addBinToPathHook, }: python3Packages.buildPythonApplication rec { @@ -77,19 +78,23 @@ python3Packages.buildPythonApplication rec { preCheck = '' chmod -R u+w ../test-data ln -s ../test-data . - export PATH=$out/bin:$PATH ''; # Some tests run subprocess.run() with "ps" - nativeCheckInputs = with python3Packages; [ - procps - pytest-cov - pytest-xdist - pytestCheckHook - syrupy - pygithub - versionCheckHook - ]; + nativeCheckInputs = + with python3Packages; + [ + procps + pytest-cov + pytest-xdist + pytestCheckHook + syrupy + pygithub + versionCheckHook + ] + ++ [ + addBinToPathHook + ]; versionCheckProgramArg = [ "--version" ];