about summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorPaw Møller <pawsen@gmail.com>2024-03-03 13:56:30 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2024-03-03 14:44:25 +0100
commit0f8027e11afd25d553aec94b847f48b08454f54a (patch)
tree00278f1594f05be8c1cc0ef8a9e6790373ee01a9 /pkgs/applications/graphics
parent9887be970bdd3f33439c646f4edbc8e34e09813f (diff)
downloadnixlib-0f8027e11afd25d553aec94b847f48b08454f54a.tar
nixlib-0f8027e11afd25d553aec94b847f48b08454f54a.tar.gz
nixlib-0f8027e11afd25d553aec94b847f48b08454f54a.tar.bz2
nixlib-0f8027e11afd25d553aec94b847f48b08454f54a.tar.lz
nixlib-0f8027e11afd25d553aec94b847f48b08454f54a.tar.xz
nixlib-0f8027e11afd25d553aec94b847f48b08454f54a.tar.zst
nixlib-0f8027e11afd25d553aec94b847f48b08454f54a.zip
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/applications/graphics')
-rw-r--r--pkgs/applications/graphics/openscad/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/openscad/default.nix b/pkgs/applications/graphics/openscad/default.nix
index 24d1fdc06ae8..e0ea00e5c298 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