Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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")

+12 -12
+12 -12
pkgs/development/libraries/cairo/default.nix
··· 60 (lib.mesonEnable "tests" finalAttrs.doCheck) 61 (lib.mesonEnable "xlib" x11Support) 62 (lib.mesonEnable "xcb" xcbSupport) 63 - # ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ 64 - # "--cross-file=${builtins.toFile "cross-file.conf" '' 65 - # [properties] 66 - # ipc_rmid_deferred_release = ${ 67 - # { 68 - # linux = "true"; 69 - # freebsd = "true"; 70 - # netbsd = "false"; 71 - # }.${stdenv.hostPlatform.parsed.kernel.name} or 72 - # throw "Unknown value for ipc_rmid_deferred_release" 73 - # } 74 - # ''}" 75 ]; 76 77 preConfigure = ''
··· 60 (lib.mesonEnable "tests" finalAttrs.doCheck) 61 (lib.mesonEnable "xlib" x11Support) 62 (lib.mesonEnable "xcb" xcbSupport) 63 + ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ 64 + "--cross-file=${builtins.toFile "cross-file.conf" '' 65 + [properties] 66 + ipc_rmid_deferred_release = ${ 67 + { 68 + linux = "true"; 69 + freebsd = "true"; 70 + netbsd = "false"; 71 + }.${stdenv.hostPlatform.parsed.kernel.name} or 72 + (throw "Unknown value for ipc_rmid_deferred_release") 73 + } 74 + ''}" 75 ]; 76 77 preConfigure = ''