about summary refs log tree commit diff
path: root/pkgs/applications/graphics/dia
diff options
context:
space:
mode:
authorStanisław Pitucha <stan.pitucha@envato.com>2023-02-05 23:04:14 +1100
committerStanisław Pitucha <git@viraptor.info>2023-03-10 21:41:26 +1100
commit5038924756ca156303d7fb1b265091bb133c7f74 (patch)
tree33ad0e2dacb99ac89184de56d55b989b48393160 /pkgs/applications/graphics/dia
parent746a47bea03c707dc55ae2fe87d64f1b6ed70b7f (diff)
dia: fix darwin build
Patch PDF plugin to build correctly with clang.
Diffstat (limited to 'pkgs/applications/graphics/dia')
-rw-r--r--pkgs/applications/graphics/dia/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/dia/default.nix b/pkgs/applications/graphics/dia/default.nix
index 6b75bf11d423d..0adc585603ef3 100644
--- a/pkgs/applications/graphics/dia/default.nix
+++ b/pkgs/applications/graphics/dia/default.nix
@@ -34,6 +34,9 @@ stdenv.mkDerivation {
 
   patches = [ ./poppler-22_09-build-fix.patch ];
 
+  # Required for the PDF plugin when building with clang.
+  CXXFLAGS = "-std=c++17";
+
   preConfigure = ''
     patchShebangs .
   '';