From c468091956d9c4a3a380cdf0c658de78684c95d0 Mon Sep 17 00:00:00 2001 From: whispers Date: Thu, 24 Sep 2026 19:02:54 -0400 Subject: [PATCH] libfaketime: fix build on darwin another patch which doesn't apply on the older version that darwin is on, compared to non-darwin platforms. these platform-specific versions are extremely cursed. hopefully we can upgrade and unify soon. --- pkgs/by-name/li/libfaketime/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libfaketime/package.nix b/pkgs/by-name/li/libfaketime/package.nix index 7bc9995e09d8..26b25f9f4ea2 100644 --- a/pkgs/by-name/li/libfaketime/package.nix +++ b/pkgs/by-name/li/libfaketime/package.nix @@ -34,13 +34,13 @@ stdenv.mkDerivation (finalAttrs: { patches = [ ./nix-store-date.patch + ] + ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ # 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 # versions, and detects that these variables are unused. # https://github.com/wolfcw/libfaketime/pull/528