krita: set -Wno-deprecated-copy for gcc

This reduces the build log length to fix the build on the Hydra.
This commit is contained in:
Dmitry Kalinkin 2020-01-11 15:15:12 -05:00
parent 3d67d0284d
commit 66dde827fb
No known key found for this signature in database
GPG Key ID: 06AF1D3C38F04E0E

View File

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