diff --git a/pkgs/by-name/pa/packetry/package.nix b/pkgs/by-name/pa/packetry/package.nix index 5f9664b67c2ef..2fbad7f76ad2e 100644 --- a/pkgs/by-name/pa/packetry/package.nix +++ b/pkgs/by-name/pa/packetry/package.nix @@ -38,8 +38,10 @@ rustPlatform.buildRustPackage rec { darwin.apple_sdk_11_0.frameworks.AppKit ]; - # Tests need a display to run - doCheck = false; + # Disable test_replay tests as they need a gui + preCheck = '' + sed -i 's:#\[test\]:#[test] #[ignore]:' src/test_replay.rs + ''; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version";