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