From 729fb27ee8daa93bd1281e69fa1fc7e070e1dbc8 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 25 Oct 2023 19:50:44 +0000 Subject: [PATCH] cairo: fix cross I accidentally left this commented out when I did the cairo update that switched the build system to Meson. Fixes: 2c0a4f46b95c ("cairo: 1.16.0 -> 1.18.0") --- pkgs/development/libraries/cairo/default.nix | 24 ++++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/pkgs/development/libraries/cairo/default.nix b/pkgs/development/libraries/cairo/default.nix index b0ecf94e84fd..017b4cf46a79 100644 --- a/pkgs/development/libraries/cairo/default.nix +++ b/pkgs/development/libraries/cairo/default.nix @@ -60,18 +60,18 @@ in { (lib.mesonEnable "tests" finalAttrs.doCheck) (lib.mesonEnable "xlib" x11Support) (lib.mesonEnable "xcb" xcbSupport) - # ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ - # "--cross-file=${builtins.toFile "cross-file.conf" '' - # [properties] - # ipc_rmid_deferred_release = ${ - # { - # linux = "true"; - # freebsd = "true"; - # netbsd = "false"; - # }.${stdenv.hostPlatform.parsed.kernel.name} or - # throw "Unknown value for ipc_rmid_deferred_release" - # } - # ''}" + ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ + "--cross-file=${builtins.toFile "cross-file.conf" '' + [properties] + ipc_rmid_deferred_release = ${ + { + linux = "true"; + freebsd = "true"; + netbsd = "false"; + }.${stdenv.hostPlatform.parsed.kernel.name} or + (throw "Unknown value for ipc_rmid_deferred_release") + } + ''}" ]; preConfigure = ''