arduino-core: fix 'Save as...'

Before, 'Save as..' would crash because it tries to use GSettings
to find some settings, but the GSettings schema's could not
be found in the XDG_DATA_DIRS.

Adding the glib setup hook populates GSETTINGS_SCHEMAS_PATH
so wrapGAppsHook can add it to XDG_DATA_DIRS, fixing
'Save as..'.
This commit is contained in:
Arnout Engelen 2021-01-02 12:47:38 +01:00 committed by Bjørn Forsman
parent 0224ebfc4c
commit cdd8031fca

View File

@ -112,7 +112,10 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ wrapGAppsHook ];
# the glib setup hook will populate GSETTINGS_SCHEMAS_PATH,
# wrapGAppHooks (among other things) adds it to XDG_DATA_DIRS
# so 'save as...' works:
nativeBuildInputs = [ glib wrapGAppsHook ];
buildInputs = [
jdk
ant