summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/graphics/krita
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2020-01-11 15:15:12 -0500
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2020-01-11 15:15:12 -0500
commit66dde827fb85691b0ea8a734fe5689716517d689 (patch)
tree3c843de1bc471d3203add1853a0473519a1e2764 /pkgs/applications/graphics/krita
parent3d67d0284d06966fb86d10f723737d5ec75e03e9 (diff)
krita: set -Wno-deprecated-copy for gcc
This reduces the build log length to fix the build on the Hydra.
Diffstat (limited to 'pkgs/applications/graphics/krita')
-rw-r--r--pkgs/applications/graphics/krita/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/krita/default.nix b/pkgs/applications/graphics/krita/default.nix
index 52397ac33c4f..3cc4834d756e 100644
--- a/pkgs/applications/graphics/krita/default.nix
+++ b/pkgs/applications/graphics/krita/default.nix
@@ -28,7 +28,8 @@ mkDerivation rec {
python3Packages.pyqt5
] ++ lib.optional (stdenv.hostPlatform.isi686 || stdenv.hostPlatform.isx86_64) vc;
- NIX_CFLAGS_COMPILE = [ "-I${ilmbase.dev}/include/OpenEXR" ];
+ NIX_CFLAGS_COMPILE = [ "-I${ilmbase.dev}/include/OpenEXR" ]
+ ++ lib.optional stdenv.cc.isGNU "-Wno-deprecated-copy";
cmakeFlags = [
"-DPYQT5_SIP_DIR=${python3Packages.pyqt5}/share/sip/PyQt5"