diff --git a/pkgs/by-name/du/duckstation/package.nix b/pkgs/by-name/du/duckstation/package.nix index cc97e913798b..c7a50504f5c3 100644 --- a/pkgs/by-name/du/duckstation/package.nix +++ b/pkgs/by-name/du/duckstation/package.nix @@ -77,10 +77,13 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeBool "BUILD_TESTS" true) ]; - doCheck = true; - checkPhase = '' + doInstallCheck = true; + + installCheckPhase = '' runHook preCheck - bin/common-tests + + $out/share/duckstation/common-tests + runHook postCheck '';