From c1848e8bbbe589674a3613c482e1761a49b47661 Mon Sep 17 00:00:00 2001 From: K900 Date: Fri, 9 May 2025 20:31:50 +0300 Subject: [PATCH] dia: use C++20 Fixes build with latest Poppler --- pkgs/by-name/di/dia/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/di/dia/package.nix b/pkgs/by-name/di/dia/package.nix index fbb11047880d..fb9b8df29c84 100644 --- a/pkgs/by-name/di/dia/package.nix +++ b/pkgs/by-name/di/dia/package.nix @@ -33,8 +33,8 @@ stdenv.mkDerivation { hash = "sha256-U+8TUE1ULt6MNxnvw9kFjCAVBecUy2Sarof6H9+kR7Q="; }; - # Required for the PDF plugin when building with clang. - CXXFLAGS = "-std=c++17"; + # Required for the PDF plugin + CXXFLAGS = "-std=c++20"; preConfigure = '' patchShebangs .