freecad: fix crash on GNOME/Wayland when opening/saving files by addi… (#520037)

This commit is contained in:
Bjørn Forsman
2026-07-20 11:51:41 +00:00
committed by GitHub

View File

@@ -31,6 +31,8 @@
nix-update-script,
gmsh,
which,
gtk3,
gsettings-desktop-schemas,
}:
let
pythonDeps = with python3Packages; [
@@ -136,6 +138,7 @@ freecad-utils.makeCustomizable (
"--set COIN_GL_NO_CURRENT_CONTEXT_CHECK 1"
"--prefix PATH : ${binPath}"
"--prefix PYTHONPATH : ${python3Packages.makePythonPath pythonDeps}"
"--prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}"
];
postFixup = ''