libfaketime: fix build w/ glibc-2.44

Failing Hydra Build: https://hydra.nixos.org/build/344162647

I'm aware that there's a 0.9.13 containing this patch, but given the
fallout according to the comment, i.e.

> 0.9.10 break dict-db-wiktionary and quartus-prime-lite on linux,
> and 0.9.11 break everything on darwin

I'm not going to look into this and pick the easy route for now, i.e.
fixing the fallout of glibc which is what I'm here for.
This commit is contained in:
Maximilian Bosch
2026-08-31 21:19:31 +02:00
parent 1e23b1be78
commit 67bbac951c

View File

@@ -34,6 +34,11 @@ stdenv.mkDerivation (finalAttrs: {
patches = [
./nix-store-date.patch
# Fixes build w/ glibc-2.44
(fetchpatch {
url = "https://github.com/wolfcw/libfaketime/commit/dbe865dfdba0145d993d70b7fd4ec88b2f47554b.patch";
hash = "sha256-pn9MInefa4ZKuOorGEpi/sDQOQamCakjdYOkFSNA2VQ=";
})
]
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
# GCC 16's unused variable analysis is more advanced than previous