Commit 855db46b authored by Bjørn Forsman's avatar Bjørn Forsman
Browse files

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.
parent 4c4cf997
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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