diff options
author | Paw Møller <pawsen@gmail.com> | 2024-03-03 13:56:30 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2024-03-03 14:44:25 +0100 |
commit | 0f8027e11afd25d553aec94b847f48b08454f54a (patch) | |
tree | 00278f1594f05be8c1cc0ef8a9e6790373ee01a9 /pkgs | |
parent | 9887be970bdd3f33439c646f4edbc8e34e09813f (diff) |
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
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/graphics/openscad/default.nix | 3 | ||||
-rw-r--r-- | pkgs/by-name/op/openscad-unstable/package.nix | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/openscad/default.nix b/pkgs/applications/graphics/openscad/default.nix index 24d1fdc06ae8b..e0ea00e5c2984 100644 --- a/pkgs/applications/graphics/openscad/default.nix +++ b/pkgs/applications/graphics/openscad/default.nix @@ -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 diff --git a/pkgs/by-name/op/openscad-unstable/package.nix b/pkgs/by-name/op/openscad-unstable/package.nix index c76d35b0f40b5..cd14fb525c369 100644 --- a/pkgs/by-name/op/openscad-unstable/package.nix +++ b/pkgs/by-name/op/openscad-unstable/package.nix @@ -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 |