diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2022-09-25 18:59:45 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2022-09-25 18:59:45 +0200 |
commit | 855db46b9db5012e6f4056037d7630da1f6cc8f2 (patch) | |
tree | 5d710fce3b84e666a5fd2d4a0d76f16bd42baa3f /pkgs/applications/graphics/openscad | |
parent | 4c4cf9979e19fabf7ceccbf7c8eda553d836cdf6 (diff) |
openscad: add support for exporting PDFs
Add cairo to buildInputs for PDF export support. Without this, trying to export using "File -> Export -> Export as PDF" leads to ERROR: Export to PDF format was not enabled when building the application. PDF export finished: /home/bf/Untitled.pdf (The pdf file is 0 KiB -- broken.) Fixes #192895.
Diffstat (limited to 'pkgs/applications/graphics/openscad')
-rw-r--r-- | pkgs/applications/graphics/openscad/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/openscad/default.nix b/pkgs/applications/graphics/openscad/default.nix index 646594d4afba7..94c30fe0a3213 100644 --- a/pkgs/applications/graphics/openscad/default.nix +++ b/pkgs/applications/graphics/openscad/default.nix @@ -30,6 +30,7 @@ , wayland , wayland-protocols , qtwayland +, cairo }: mkDerivation rec { @@ -61,7 +62,7 @@ mkDerivation rec { buildInputs = [ eigen boost glew opencsg cgal mpfr gmp glib harfbuzz lib3mf libzip double-conversion freetype fontconfig - qtbase qtmultimedia qscintilla + qtbase qtmultimedia qscintilla cairo ] ++ lib.optionals stdenv.isLinux [ libGLU libGL wayland wayland-protocols qtwayland ] ++ lib.optional stdenv.isDarwin qtmacextras ++ lib.optional spacenavSupport libspnav |