Skip to content

Commit

Permalink
opencolorio: fix cross build (NixOS#373047)
Browse files Browse the repository at this point in the history
  • Loading branch information
misuzu authored Jan 14, 2025
2 parents 556ee42 + b8d93f4 commit 9addf51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/libraries/opencolorio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
pystring,
imath,
minizip-ng,
zlib,
# Only required on Linux
glew,
libglut,
Expand Down Expand Up @@ -51,14 +52,15 @@ 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
yaml-cpp
pystring
imath
minizip-ng
zlib
]
++ lib.optionals stdenv.hostPlatform.isLinux [
glew
Expand Down

0 comments on commit 9addf51

Please sign in to comment.