diff options
author | Stanisław Pitucha <stan.pitucha@envato.com> | 2023-02-05 23:04:14 +1100 |
---|---|---|
committer | Stanisław Pitucha <git@viraptor.info> | 2023-03-10 21:41:26 +1100 |
commit | 5038924756ca156303d7fb1b265091bb133c7f74 (patch) | |
tree | 33ad0e2dacb99ac89184de56d55b989b48393160 /pkgs/applications/graphics/dia | |
parent | 746a47bea03c707dc55ae2fe87d64f1b6ed70b7f (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.nix | 3 |
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 . ''; |