Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glib: Add variable for overriding schemas #31683

Merged
merged 2 commits into from
Nov 27, 2017

Commits on Nov 15, 2017

  1. glib: recognize NIX_GSETTINGS_OVERRIDES_DIR variable

    For some reason, the GNOME 3.26 update broke the overrides. It turns
    out the overrides now need to come before the overriden schemas in the
    XDG_DATA_DIRS variable. This is not possible in general due to applications
    prefixing the variable (e.g. in wrapGAppsHook).
    
    To fix this, a new environment variable NIX_GSETTINGS_OVERRIDES_DIR
    was introduced. It has greater priority than XDG_DATA_DIRS but lower
    than GSETTINGS_SCHEMA_DIR. A separate variable was chosen in order not
    to block the built-in one for users.
    jtojnar committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    1f79b94 View commit details
    Browse the repository at this point in the history
  2. nixos/gnome3: override schemas using env variable

    For some reason, the GNOME 3.26 update broke the overrides. It turns
    out the overrides now need to come before the overriden schemas in the
    XDG_DATA_DIRS variable. This is not possible in general due to applications
    prefixing the variable (e.g. in wrapGAppsHook).
    
    To fix this, a new environment variable NIX_GSETTINGS_OVERRIDES_DIR
    was introduced. It has greater priority than XDG_DATA_DIRS but lower
    than GSETTINGS_SCHEMA_DIR. A separate variable was chosen in order not
    to block the built-in one for users.
    jtojnar committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    510737c View commit details
    Browse the repository at this point in the history