idiosyn/overlay/fixes.nix

30 lines
738 B
Nix
Raw Normal View History

2024-08-28 00:23:03 +02:00
{ nixpkgs, ... }: final: prev:
let
inherit (nixpkgs.lib) optionalAttrs;
inherit (prev.stdenv) hostPlatform;
in {
2024-08-27 23:37:52 +02:00
redis = prev.redis.overrideAttrs ({
doCheck = false;
});
2024-08-28 16:02:10 +02:00
python312 = prev.python312.override {
2024-08-28 16:02:10 +02:00
packageOverrides = final: prev: {
2024-09-01 11:12:23 +02:00
pywebview = prev.pywebview.overrideAttrs ({
doCheck = false;
doInstallCheck = false;
});
} // optionalAttrs hostPlatform.isRiscV64 {
psutil = prev.psutil.overrideAttrs (prevAttrs: {
disabledTests = prevAttrs.disabledTests or [ ] ++ [
"net_if_addrs"
"net_if_stats"
];
2024-08-28 16:02:10 +02:00
});
};
};
2024-09-01 11:12:23 +02:00
} // optionalAttrs hostPlatform.isRiscV64 ({
libuv = prev.libuv.overrideAttrs ({
doCheck = false;
});
2024-08-28 00:23:03 +02:00
})