xbps: fix build w/ glibc-2.44

Failing Hydra build: https://hydra.nixos.org/build/344216369
This commit is contained in:
Maximilian Bosch
2026-09-08 18:12:11 +02:00
parent 9a4883041b
commit 9266a746c1

View File

@@ -7,6 +7,7 @@
zlib,
openssl,
libarchive,
fetchpatch,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -33,6 +34,23 @@ stdenv.mkDerivation (finalAttrs: {
patches = [
./cert-paths.patch
# fix build w/ glibc-2.44
(fetchpatch {
url = "https://github.com/void-linux/xbps/commit/7d02b79d3d7e0bf644adf8b412e76dba1b1fdce1.patch";
hash = "sha256-iUNBmkkfR02/EFDkax/ZpE7oM+5IVDMmD0FYz7p0dQ4=";
})
(fetchpatch {
url = "https://github.com/void-linux/xbps/commit/9a8002c5688c3cdda700b022bf432b4426d64042.patch";
hash = "sha256-/94HKeyv9LaQv6QHE0CqmM1ajBOSNt9Sfh0XKV0RLMQ=";
})
(fetchpatch {
url = "https://github.com/void-linux/xbps/commit/7f2f10300f235639c5880bea1e4b14245fd5fbda.patch";
hash = "sha256-iZXiNYrSFaP55qyzefc3hqJ+SoIOsFILqnra6u5iGpM=";
})
(fetchpatch {
url = "https://github.com/void-linux/xbps/commit/84f6a1be26348c265afedebe9cea958424b0aabf.patch";
hash = "sha256-WDsGkI+3JnJskM+UKjI/UZP6ypMCd5+3rYtlQgQEr40=";
})
];
env.NIX_CFLAGS_COMPILE = "-Wno-error=unused-result -Wno-error=deprecated-declarations";