From 67bbac951c1c9c08ae87b0c471f67d245eb68f7a Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Mon, 31 Aug 2026 21:19:31 +0200 Subject: [PATCH] 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. --- pkgs/by-name/li/libfaketime/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/li/libfaketime/package.nix b/pkgs/by-name/li/libfaketime/package.nix index 1e9667b83fba..7bc9995e09d8 100644 --- a/pkgs/by-name/li/libfaketime/package.nix +++ b/pkgs/by-name/li/libfaketime/package.nix @@ -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