mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
virt-manager: fix missing schema error
The dependency on gsettings_desktop_schemas wasn't specified correctly. Now it works. Fixes this error, as seen when trying to open a guest VM when virt-manager is accessed over ssh with X forwarding: GLib-GIO-ERROR **: Settings schema 'org.gnome.system.proxy' is not installed
This commit is contained in:
parent
b9eda15dc0
commit
fb8a2b3be7
@ -34,6 +34,7 @@ buildPythonPackage rec {
|
||||
avahi
|
||||
glib
|
||||
gobjectIntrospection
|
||||
gsettings_desktop_schemas
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
@ -51,7 +52,7 @@ buildPythonPackage rec {
|
||||
--prefix GI_TYPELIB_PATH : $GI_TYPELIB_PATH \
|
||||
--prefix GIO_EXTRA_MODULES : "${dconf}/lib/gio/modules" \
|
||||
--prefix GSETTINGS_SCHEMA_DIR : $out/share/glib-2.0/schemas \
|
||||
--prefix XDG_DATA_DIRS : "$out/share:${gsettings_desktop_schemas}/share:${gtk3}/share:$GSETTINGS_SCHEMAS_PATH:\$XDG_DATA_DIRS"
|
||||
--prefix XDG_DATA_DIRS : "$out/share:${gtk3}/share:$GSETTINGS_SCHEMAS_PATH:\$XDG_DATA_DIRS"
|
||||
done
|
||||
|
||||
${glib}/bin/glib-compile-schemas "$out"/share/glib-2.0/schemas
|
||||
|
Loading…
Reference in New Issue
Block a user