mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
freecad: fix crash when selecting color of a solid
FreeCAD crashes when user wants to select color of a solid with following console message (long lines wrapped): $ nix run nixpkgs#freecad FreeCAD 0.20, Libs: 0.20RUnknown © Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2022 FreeCAD is free and open-source software licensed under the terms of LGPL2+ license. FreeCAD wouldn't be possible without FreeCAD community. ##### #### ### #### # # # # # # # ## #### #### # # # # # #### # # # # # # # ##### # # # # #### #### # # # # # # # # # # # # # # ## ## ## # # #### #### ### # # #### ## ## ## (freecad:19737): GLib-GIO-ERROR **: 14:33:02.511: Settings schema 'org.gtk.Settings.ColorChooser' is not installed fish: Job 1, 'nix run nixpkgs#freecad' terminated by signal SIGTRAP (Trace or breakpoint trap) This patch adds hooks for GApps to relevant places in order to make FreeCAD finding the Color Chooser dialog schema effectively preventing crash from happening.
This commit is contained in:
parent
347475c8cb
commit
269b500073
1 changed files with 2 additions and 0 deletions
|
@ -42,6 +42,7 @@
|
|||
, swig
|
||||
, vtk
|
||||
, wrapQtAppsHook
|
||||
, wrapGAppsHook
|
||||
, xercesc
|
||||
, zlib
|
||||
}:
|
||||
|
@ -64,6 +65,7 @@ mkDerivation rec {
|
|||
pyside2-tools
|
||||
gfortran
|
||||
wrapQtAppsHook
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
|
Loading…
Reference in a new issue