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
This commit is contained in:
parent
9887be970b
commit
0f8027e11a
2 changed files with 4 additions and 1 deletions
|
@ -29,6 +29,7 @@
|
||||||
, spacenavSupport ? stdenv.isLinux, libspnav
|
, spacenavSupport ? stdenv.isLinux, libspnav
|
||||||
, wayland
|
, wayland
|
||||||
, wayland-protocols
|
, wayland-protocols
|
||||||
|
, wrapGAppsHook
|
||||||
, qtwayland
|
, qtwayland
|
||||||
, cairo
|
, cairo
|
||||||
}:
|
}:
|
||||||
|
@ -57,7 +58,7 @@ mkDerivation rec {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ bison flex pkg-config gettext qmake ];
|
nativeBuildInputs = [ bison flex pkg-config gettext qmake wrapGAppsHook];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
eigen boost glew opencsg cgal_4 mpfr gmp glib
|
eigen boost glew opencsg cgal_4 mpfr gmp glib
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
, tbb_2021_8
|
, tbb_2021_8
|
||||||
, wayland
|
, wayland
|
||||||
, wayland-protocols
|
, wayland-protocols
|
||||||
|
, wrapGAppsHook
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
# get cccl from source to avoid license issues
|
# get cccl from source to avoid license issues
|
||||||
|
@ -95,6 +96,7 @@ clangStdenv.mkDerivation rec {
|
||||||
python3
|
python3
|
||||||
libsForQt5.qt5.wrapQtAppsHook
|
libsForQt5.qt5.wrapQtAppsHook
|
||||||
llvmPackages.bintools
|
llvmPackages.bintools
|
||||||
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
buildInputs = with libsForQt5; with qt5; [
|
buildInputs = with libsForQt5; with qt5; [
|
||||||
# manifold dependencies
|
# manifold dependencies
|
||||||
|
|
Loading…
Reference in a new issue