scribusUnstable: fix build with latest poppler
Poppler 22.01.0 requires std=c++17:
https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1027
It will be enforced in next release:
https://github.com/scribusproject/scribus/commit/0b1abeff0891b0907cdccb4ae965541b24b611f8
commit46c427535a72a3bcd32c2e9ff0eafc0e9e399996
authorJan Tojnar <jtojnar@gmail.com>
dateThu 27 Jan 2022, 17:23 (5 years ago)
parentd8bcc67
pkgs/applications/office/scribus/unstable.nix+5
@@ -83,6 +83,11 @@ mkDerivation rec {
8383 qttools
8484 ];
8585
86+ cmakeFlags = [
87+ # poppler uses std::optional
88+ "-DWANT_CPP17=ON"
89+ ];
90+
8691 meta = with lib; {
8792 maintainers = with maintainers; [
8893 erictapen