summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2020-01-11 21:54:33 +0100
committerVladimír Čunát <v@cunat.cz>2020-01-11 21:54:33 +0100
commit7048b566c187fb5b28cbb583385ddbf98573c484 (patch)
tree8103d3647279dcbbcbfb7a4c33493c6ab5ea74de
parentcinnamon.xapps: 1.6.8 -> 1.6.10 (diff)
parentkrita: set -Wno-deprecated-copy for gcc (diff)
downloadnixpkgs-7048b566c187fb5b28cbb583385ddbf98573c484.tar.gz
Merge #77526: krita: set -Wno-deprecated-copy for gcc
This reduces the build log length to fix the build on the Hydra.
-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"