From e7a6b76a77c62ddbda30de887231b4394dc45985 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Sun, 1 Sep 2024 18:44:55 +0200 Subject: [PATCH] psutil: Disable specific tests on RISC-V --- overlay/fixes.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/overlay/fixes.nix b/overlay/fixes.nix index d7636ed..d9dd34b 100644 --- a/overlay/fixes.nix +++ b/overlay/fixes.nix @@ -14,8 +14,11 @@ in { doInstallCheck = false; }); } // optionalAttrs hostPlatform.isRiscV64 { - psutil = prev.psutil.overrideAttrs ({ - doCheck = false; + psutil = prev.psutil.overrideAttrs (prevAttrs: { + disabledTests = prevAttrs.disabledTests or [ ] ++ [ + "net_if_addrs" + "net_if_stats" + ]; }); }; };