about summary refs log tree commit diff
path: root/pkgs/applications/graphics/dia
diff options
context:
space:
mode:
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 .
   '';