diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2022-01-27 17:23:13 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2022-01-27 18:07:23 +0100 |
commit | 46c427535a72a3bcd32c2e9ff0eafc0e9e399996 (patch) | |
tree | a0305c57897e6d5fdc841e982981ee4ec71d8672 /pkgs/applications/office/scribus | |
parent | d8bcc674c4bac48aedc7f421fcc2c3d0487a150a (diff) |
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
Diffstat (limited to 'pkgs/applications/office/scribus')
-rw-r--r-- | pkgs/applications/office/scribus/unstable.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/office/scribus/unstable.nix b/pkgs/applications/office/scribus/unstable.nix index 6aed41d7f9afd..21adb90cab9e9 100644 --- a/pkgs/applications/office/scribus/unstable.nix +++ b/pkgs/applications/office/scribus/unstable.nix @@ -83,6 +83,11 @@ mkDerivation rec { qttools ]; + cmakeFlags = [ + # poppler uses std::optional + "-DWANT_CPP17=ON" + ]; + meta = with lib; { maintainers = with maintainers; [ erictapen |