From 70f51cc0b2ec472a85e06cb88b7e6542cb612bd8 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 15 Jun 2026 19:01:06 +0200 Subject: [PATCH] cairo: default ipc_rmid_deferred_release to false This avoids the need to specify a value for every platform. Upstream does this since commit 8d5037ed ("meson: always skip IPC_RMID_DEFERRED_RELEASE check when cross-compiling"). We might as well keep the known true values for Linux and FreeBSD around to preserve the small optimization. --- pkgs/by-name/ca/cairo/package.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/by-name/ca/cairo/package.nix b/pkgs/by-name/ca/cairo/package.nix index 163a15c9bfca..172deabc7149 100644 --- a/pkgs/by-name/ca/cairo/package.nix +++ b/pkgs/by-name/ca/cairo/package.nix @@ -99,11 +99,8 @@ stdenv.mkDerivation ( { linux = "true"; freebsd = "true"; - netbsd = "false"; - windows = "false"; } - .${stdenv.hostPlatform.parsed.kernel.name} - or (throw "Unknown value for ipc_rmid_deferred_release on ${stdenv.hostPlatform.parsed.kernel.name}") + .${stdenv.hostPlatform.parsed.kernel.name} or "false" } ''}" ];