idiosyn/overlay/fixes.nix

34 lines
884 B
Nix
Raw Normal View History

2024-08-28 00:23:03 +02:00
{ nixpkgs, ... }: final: prev:
let
2024-10-13 20:28:12 +02:00
inherit (nixpkgs) lib;
inherit (lib) toList;
2024-08-28 00:23:03 +02:00
inherit (prev.stdenv) hostPlatform;
in {
2024-10-13 20:28:12 +02:00
redis = prev.redis.overrideAttrs {
2024-08-27 23:37:52 +02:00
doCheck = false;
2024-10-13 20:28:12 +02:00
};
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;
});
2024-08-28 16:02:10 +02:00
};
};
sioyek = prev.sioyek.overrideAttrs (prevAttrs: {
env = prevAttrs.env or { } // {
NIX_CFLAGS_COMPILE = toList prevAttrs.env.NIX_CFLAGS_COMPILE or [ ]
++ [ "-DGL_CLAMP=GL_CLAMP_TO_EDGE" ] |> toString;
};
});
zeromq = prev.zeromq.overrideAttrs (prevAttrs: {
postPatch = prevAttrs.postPatch or "" + ''
substituteInPlace CMakeLists.txt \
--replace-fail 'CACHELINE_SIZE EQUAL "undefined"' 'CACHELINE_SIZE STREQUAL "undefined"'
'';
});
2024-10-13 20:28:12 +02:00
}