about summary refs log tree commit diff
path: root/pkgs/by-name/op
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/by-name/op
parent9887be970bdd3f33439c646f4edbc8e34e09813f (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/by-name/op')
-rw-r--r--pkgs/by-name/op/openscad-unstable/package.nix2
1 files changed, 2 insertions, 0 deletions
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