Merge pull request #150149 from ius/virt-manager-wmclass

virt-manager: fix wmclass
This commit is contained in:
Artturi 2021-12-11 05:36:52 +02:00 committed by GitHub
commit 70067da600
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,10 +47,14 @@ python3Packages.buildPythonApplication rec {
setupPyGlobalFlags = [ "--no-update-icon-cache" ];
dontWrapGApps = true;
preFixup = ''
gappsWrapperArgs+=(--set PYTHONPATH "$PYTHONPATH")
# these are called from virt-install in initrdinject.py
gappsWrapperArgs+=(--prefix PATH : "${makeBinPath [ cpio e2fsprogs file findutils gzip ]}")
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
checkInputs = with python3Packages; [ cpio cdrtools pytestCheckHook ];