idiosyn/overlay/fixes.nix

29 lines
738 B
Nix

{ nixpkgs, ... }: final: prev:
let
inherit (nixpkgs.lib) optionalAttrs;
inherit (prev.stdenv) hostPlatform;
in {
redis = prev.redis.overrideAttrs ({
doCheck = false;
});
python312 = prev.python312.override {
packageOverrides = final: prev: {
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"
];
});
};
};
} // optionalAttrs hostPlatform.isRiscV64 ({
libuv = prev.libuv.overrideAttrs ({
doCheck = false;
});
})