Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0224ebfc4cde
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cdd8031fca51
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jan 2, 2021

  1. 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..'.
    raboof authored and bjornfor committed Jan 2, 2021
    Copy the full SHA
    cdd8031 View commit details
Showing with 4 additions and 1 deletion.
  1. +4 −1 pkgs/development/arduino/arduino-core/default.nix
5 changes: 4 additions & 1 deletion pkgs/development/arduino/arduino-core/default.nix
Original file line number Diff line number Diff line change
@@ -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