-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
wrapGAppsHook: use it for some more packages #32210
Conversation
/cc @jtojnar |
@@ -43,8 +44,6 @@ stdenv.mkDerivation rec { | |||
|
|||
preFixup = optionalString enableGTK3 /* gsettings schemas for file dialogues */ '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment can be also removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jtojnar Done, thanks!
Transmission and dconf-editor look fine, I am not familiar with libreoffice packaging, though. |
@jtojnar Thank you!
/cc @viric @7c6f434c
|
LibreOffice change makes enough sense that I am willing to take the claims about testing at the face value. |
I was more worried about |
In general it is a valid concern, but in case of LibreOffice removing
cruft is also worht something. It looks like there is now dconf in the
closure, but I am not even sure if something is subtly broken without
it.
(This is LibreOffice, where not having a running DBus session can lead
to the disappearance of the menu bar…)
|
Guys, I'm confused >_>
But you said before that programs using
I use LibreOffice but not that often and extensively to notice if something will become "subtly broken" This is how everything behaves after #31891 under wayland compositors (except Gnome of course):
Where? Dconf is not required, but gsettings_desktop_schemas is required for one particular case: Gtk3 programs working under wayland compositors (except Gnome which prepares proper environment). Though Gnome guys switched from old settings formats to dconf settings far ago, they just not broke things for X11 backend, but haven't added similar legacy stuff to Wayland backend, so things appear to be broken only under Wayland. If you're interested see #31293 |
Yes, the
dconf library is a propagated dependency of |
Meant exactly that (wrapProgram --prefix XDG_DATA_DIRS $GSETTINGS_SCHEMAS_PATH).
Oops, indeed. Termite shell messed tests on my side. Its a gtk program wrapped with wrapGAppsHook and it propagates wrapper context to the childs. Dconf library is indeed needed as well as gsettings_desktop_schemas to make programs use dconf settings.
So did we go a right route or there is a better way without possibility to break anything? I don't know one except a module with setting like |
Making sure the resulting derivation does not contain unnecessary dependencies and splitting them would work for some (
The schemas might be useful even without dconf backend, for now I would keep them. nixpkgs/nixos/modules/hardware/opengl.nix Lines 138 to 139 in 6f64bc5
dconf to systemPackages .
|
* bemenu: init at 2017-02-14 * velox: 2015-11-03 -> 2017-07-04 * orbment, velox: don't expose subprojects the development of orbment and velox got stuck their subprojects (bemenu, dmenu-wayland, st-wayland) don't work correctly outside of parent projects so hide them to not confuse people swc and wld libraries are unpopular and unlike wlc are not used by anything except velox * pythonPackages.pydbus: init at 0.6.0 * way-cooler: 0.5.2 -> 0.6.2 * nixos/way-cooler: add module * dconf module: use for wayland non-invasive approach for #31293 see discussion at #32210 * sway: embed LD_LIBRARY_PATH for #32755 * way-cooler: switch from buildRustPackage to buildRustCrate #31150
Motivation for this change
For #31293 (comment) after #31891
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)