2024-08-28 00:23:03 +02:00
|
|
|
{ nixpkgs, ... }: final: prev:
|
|
|
|
let
|
2024-09-15 16:14:37 +02:00
|
|
|
inherit (nixpkgs.lib) optionalAttrs toList;
|
2024-08-28 00:23:03 +02:00
|
|
|
inherit (prev.stdenv) hostPlatform;
|
|
|
|
in {
|
2024-10-10 18:34:14 +02:00
|
|
|
numactl = prev.numactl.overrideAttrs (prevAttrs: {
|
|
|
|
patches = prevAttrs.patches or [ ] ++ [
|
|
|
|
(final.fetchpatch {
|
|
|
|
url = "https://github.com/numactl/numactl/commit/f9deba0c8404529772468d6dd01389f7dbfa5ba9.patch";
|
|
|
|
hash = "sha256-TmWfD99YaSIHA5PSsWHE91GSsdsVgVU+qIow7LOwOGw=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
2024-08-27 23:37:52 +02:00
|
|
|
redis = prev.redis.overrideAttrs ({
|
|
|
|
doCheck = false;
|
|
|
|
});
|
2024-08-28 16:02:10 +02:00
|
|
|
|
2024-08-30 21:29:46 +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 {
|
2024-09-01 18:44:55 +02:00
|
|
|
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-15 16:14:37 +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;
|
|
|
|
};
|
|
|
|
});
|
2024-09-16 21:15:43 +02:00
|
|
|
|
|
|
|
zeromq = prev.zeromq.overrideAttrs (prevAttrs: {
|
|
|
|
postPatch = prevAttrs.postPatch or "" + ''
|
|
|
|
substituteInPlace CMakeLists.txt \
|
|
|
|
--replace-fail 'CACHELINE_SIZE EQUAL "undefined"' 'CACHELINE_SIZE STREQUAL "undefined"'
|
|
|
|
'';
|
|
|
|
});
|
2024-09-01 11:12:23 +02:00
|
|
|
} // optionalAttrs hostPlatform.isRiscV64 ({
|
2024-09-01 22:12:36 +02:00
|
|
|
boehmgc = prev.boehmgc.overrideAttrs (prevAttrs: {
|
|
|
|
postPatch = prevAttrs.postPatch or "" + ''
|
|
|
|
sed -E -i '/^TESTS \+= gctest/d' \
|
|
|
|
tests/tests.am
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2024-09-15 21:28:31 +02:00
|
|
|
elfutils = prev.elfutils.overrideAttrs ({
|
|
|
|
doCheck = false;
|
|
|
|
});
|
|
|
|
|
2024-09-15 15:27:53 +02:00
|
|
|
libseccomp = prev.libseccomp.overrideAttrs ({
|
|
|
|
doCheck = false;
|
|
|
|
});
|
|
|
|
|
2024-09-01 11:12:23 +02:00
|
|
|
libuv = prev.libuv.overrideAttrs ({
|
|
|
|
doCheck = false;
|
|
|
|
});
|
2024-09-01 23:11:38 +02:00
|
|
|
|
|
|
|
xdg-utils = prev.xdg-utils.override {
|
|
|
|
procmail = final.emptyDirectory;
|
|
|
|
};
|
2024-08-28 00:23:03 +02:00
|
|
|
})
|