Merge #77526: krita: set -Wno-deprecated-copy for gcc

This reduces the build log length to fix the build on the Hydra.

+2 -1
+2 -1
pkgs/applications/graphics/krita/default.nix
··· 28 28 python3Packages.pyqt5 29 29 ] ++ lib.optional (stdenv.hostPlatform.isi686 || stdenv.hostPlatform.isx86_64) vc; 30 30 31 - NIX_CFLAGS_COMPILE = [ "-I${ilmbase.dev}/include/OpenEXR" ]; 31 + NIX_CFLAGS_COMPILE = [ "-I${ilmbase.dev}/include/OpenEXR" ] 32 + ++ lib.optional stdenv.cc.isGNU "-Wno-deprecated-copy"; 32 33 33 34 cmakeFlags = [ 34 35 "-DPYQT5_SIP_DIR=${python3Packages.pyqt5}/share/sip/PyQt5"