Commit 0f8027e1 authored by Paw Møller's avatar Paw Møller Committed by Bjørn Forsman
Browse files

openscad: add wrapGAppsHook

This app needs the wrapGAppsHook so that the GLib schemas are available
at runtime, otherwise it will crash when a file dialog is invoked in an
unpolluted environment.

Fixes the GSettings errors
GLib-GIO-ERROR **: No GSettings schemas are installed on the system
(openscad:26805): GLib-GIO-ERROR **: 13:10:37.913: Settings schema 'org.gtk.Settings.FileChooser' is not installed
parent 9887be97
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@
, spacenavSupport ? stdenv.isLinux, libspnav
, wayland
, wayland-protocols
, wrapGAppsHook
, qtwayland
, cairo
}:
@@ -57,7 +58,7 @@ mkDerivation rec {
    })
  ];

  nativeBuildInputs = [ bison flex pkg-config gettext qmake ];
  nativeBuildInputs = [ bison flex pkg-config gettext qmake wrapGAppsHook];

  buildInputs = [
    eigen boost glew opencsg cgal_4 mpfr gmp glib
+2 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@
, tbb_2021_8
, wayland
, wayland-protocols
, wrapGAppsHook
}:
let
  # get cccl from source to avoid license issues
@@ -95,6 +96,7 @@ clangStdenv.mkDerivation rec {
    python3
    libsForQt5.qt5.wrapQtAppsHook
    llvmPackages.bintools
    wrapGAppsHook
  ];
  buildInputs = with libsForQt5; with qt5; [
    # manifold dependencies