From 2aeb2dc8a21b71a31a4b5de42eb1e2f551f4aa0f Mon Sep 17 00:00:00 2001 From: rxiao Date: Tue, 9 May 2023 22:17:05 +1000 Subject: [PATCH] py-spy: fix build --- pkgs/development/tools/py-spy/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/tools/py-spy/default.nix b/pkgs/development/tools/py-spy/default.nix index 7f806df2259..86aceace84e 100644 --- a/pkgs/development/tools/py-spy/default.nix +++ b/pkgs/development/tools/py-spy/default.nix @@ -48,6 +48,9 @@ rustPlatform.buildRustPackage rec { checkFlags = [ # thread 'python_data_access::tests::test_copy_string' panicked at 'called `Result::unwrap()` on an `Err` "--skip=python_data_access::tests::test_copy_string" + ] ++ lib.optionals (stdenv.hostPlatform.system == "x86_64-linux") [ + # panicked at 'called `Result::unwrap()` on an `Err` value: failed to get os threadid + "--skip=test_thread_reuse" ]; meta = with lib; {