From a1983a63f3e9446497bba870dddf1182f9043fc0 Mon Sep 17 00:00:00 2001 From: Augustin Trancart Date: Wed, 22 Jan 2025 14:17:29 +0100 Subject: [PATCH] krita: switch to openexr_3 --- pkgs/applications/graphics/krita/generic.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/graphics/krita/generic.nix b/pkgs/applications/graphics/krita/generic.nix index 1a1ba8e115fd..989bdb6fb02e 100644 --- a/pkgs/applications/graphics/krita/generic.nix +++ b/pkgs/applications/graphics/krita/generic.nix @@ -30,7 +30,7 @@ libkdcraw, lcms2, gsl, - openexr, + openexr_3, giflib, libjxl, mlt, @@ -105,7 +105,7 @@ mkDerivation rec { fribidi lcms2 gsl - openexr + openexr_3 lager libaom libheif @@ -132,9 +132,7 @@ mkDerivation rec { python3Packages.pyqt5 ]; - env.NIX_CFLAGS_COMPILE = toString ( - [ "-I${ilmbase.dev}/include/OpenEXR" ] ++ lib.optional stdenv.cc.isGNU "-Wno-deprecated-copy" - ); + env.NIX_CFLAGS_COMPILE = toString (lib.optional stdenv.cc.isGNU "-Wno-deprecated-copy"); # Krita runs custom python scripts in CMake with custom PYTHONPATH which krita determined in their CMake script. # Patch the PYTHONPATH so python scripts can import sip successfully.