virt-manager: compile gsettings schemas

This commit is contained in:
Bernardo Meurer 2022-03-12 14:13:21 -08:00
parent 3742b1c1cc
commit d713f47b99
No known key found for this signature in database
GPG key ID: F4C0D53B8D14C246

View file

@ -49,8 +49,7 @@ python3.pkgs.buildPythonApplication rec {
dontWrapGApps = true;
preFixup = ''
mkdir -p $out/share/glib-2.0/schemas
cp $src/data/*.gschema.xml $out/share/glib-2.0/schemas/
glib-compile-schemas $out/share/gsettings-schemas/${pname}-${version}/glib-2.0/schemas
gappsWrapperArgs+=(--set PYTHONPATH "$PYTHONPATH")
# these are called from virt-install in initrdinject.py