From b8d93f472b9aef5f49f74b4ed624fd4c158380ff Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Wed, 8 Jan 2025 12:32:19 +0100 Subject: [PATCH] opencolorio: fix cross build --- pkgs/development/libraries/opencolorio/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/opencolorio/default.nix b/pkgs/development/libraries/opencolorio/default.nix index 8a2d452f7d3a5..c300f8a0cd57c 100644 --- a/pkgs/development/libraries/opencolorio/default.nix +++ b/pkgs/development/libraries/opencolorio/default.nix @@ -8,6 +8,7 @@ pystring, imath, minizip-ng, + zlib, # Only required on Linux glew, libglut, @@ -51,7 +52,7 @@ stdenv.mkDerivation rec { --replace 'OCIO_ADD_TEST(Config, virtual_display_with_active_displays)' 'static void _skip_virtual_display_with_active_displays()' ''; - nativeBuildInputs = [ cmake ]; + nativeBuildInputs = [ cmake ] ++ lib.optionals pythonBindings [ python3Packages.python ]; buildInputs = [ expat @@ -59,6 +60,7 @@ stdenv.mkDerivation rec { pystring imath minizip-ng + zlib ] ++ lib.optionals stdenv.hostPlatform.isLinux [ glew