From 1923a6a8ac9f277926e687677aa0ed58e9309615 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Wed, 12 Jul 2023 11:30:24 +0200 Subject: [PATCH] qpdfview: Bump C++ standard version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The build was failing due to missing `std::option`, reportedly after Poppler 23.02.0 → 23.07.0 bump. --- pkgs/applications/office/qpdfview/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/office/qpdfview/default.nix b/pkgs/applications/office/qpdfview/default.nix index 6cc26c95a05b..dd966433acfb 100644 --- a/pkgs/applications/office/qpdfview/default.nix +++ b/pkgs/applications/office/qpdfview/default.nix @@ -52,6 +52,11 @@ mkDerivation rec { "APPDATA_INSTALL_PATH=${placeholder "out"}/share/appdata" ]; + env = { + # Fix build due to missing `std::option`. + NIX_CFLAGS_COMPILE = "-std=c++17"; + }; + meta = with lib; { description = "A tabbed document viewer"; license = licenses.gpl2Plus;