anchor.diff:    '';
   
     postConfigure = ''
  -    ${python3Packages.python.interpreter} setup.py configure --prefix=$out
  +    ${python3.interpreter} setup.py configure --prefix=$out
     '';
   
  -  setupPyGlobalFlags = [ "--no-update-icon-cache" ];
  +  setupPyGlobalFlags = [ "--no-update-icon-cache" "--no-compile-schemas" ];
   
     dontWrapGApps = true;
   
     preFixup = ''
  +    mkdir -p $out/share/glib-2.0/schemas
  +    cp $src/data/*.gschema.xml $out/share/glib-2.0/schemas/
  +
       gappsWrapperArgs+=(--set PYTHONPATH "$PYTHONPATH")
       # these are called from virt-install in initrdinject.py
       gappsWrapperArgs+=(--prefix PATH : "${makeBinPath [ cpio e2fsprogs file findutils gzip ]}")
  
positive.code:     makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
    '';
  
    checkInputs = with python3Packages; [ cpio cdrtools pytestCheckHook ];
  
    disabledTestPaths = [
      "tests/test_cli.py"
  
negative.code: { lib, fetchFromGitHub, python3, intltool, file, wrapGAppsHook, gtk-vnc
  , vte, avahi, dconf, gobject-introspection, libvirt-glib, system-libvirt
  , gsettings-desktop-schemas, libosinfo, gnome, gtksourceview4, docutils, cpio
  , e2fsprogs, findutils, gzip, cdrtools
  , spiceSupport ? true, spice-gtk ? null
  }:
  
  with lib;
  
  python3.pkgs.buildPythonApplication rec {
    pname = "virt-manager";
    version = "4.0.0";
  
    src = fetchFromGitHub {
      owner = pname;
      repo = pname;
      rev = "v${version}";
      hash = "sha256-3ycXNBuf91kI2cJCRw0ZzaWkaIVwb/lmkOKeHNwpH9Y=";
    };
  
    nativeBuildInputs = [
  