psutil: Disable specific tests on RISC-V

This commit is contained in:
Mikael 2024-09-01 18:44:55 +02:00
parent 913928341d
commit e7a6b76a77
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -14,8 +14,11 @@ in {
doInstallCheck = false; doInstallCheck = false;
}); });
} // optionalAttrs hostPlatform.isRiscV64 { } // optionalAttrs hostPlatform.isRiscV64 {
psutil = prev.psutil.overrideAttrs ({ psutil = prev.psutil.overrideAttrs (prevAttrs: {
doCheck = false; disabledTests = prevAttrs.disabledTests or [ ] ++ [
"net_if_addrs"
"net_if_stats"
];
}); });
}; };
}; };