[staging-next] libfaketime: fix build on darwin (#566671)

This commit is contained in:
Bjørn Forsman
2026-09-25 04:44:49 +00:00
committed by GitHub

View File

@@ -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