anchor.diff:      libvirt-glib vte dconf gtk-vnc gnome.adwaita-icon-theme avahi
       gsettings-desktop-schemas libosinfo gtksourceview4
       gobject-introspection # Temporary fix, see https://github.com/NixOS/nixpkgs/issues/56943
  -  ] ++ optional spiceSupport spice-gtk;
  +  ] ++ lib.optional spiceSupport spice-gtk;
   
     propagatedBuildInputs = with python3.pkgs; [
  -    pygobject3 ipaddress libvirt libxml2 requests cdrtools
  +    pygobject3 libvirt libxml2 requests cdrtools
     ];
  -
  -  prePatch = ''
  -    sed -i 's|/usr/share/libvirt/cpu_map.xml|${system-libvirt}/share/libvirt/cpu_map.xml|g' virtinst/capabilities.py
  -    sed -i "/'install_egg_info'/d" setup.py
  -  '';
   
      patches = [
        # due to a recent change in setuptools-61, "packages=[]" needs to be included
  
positive.code: 
      gappsWrapperArgs+=(--set PYTHONPATH "$PYTHONPATH")
      # these are called from virt-install in initrdinject.py
      gappsWrapperArgs+=(--prefix PATH : "${makeBinPath [ cpio e2fsprogs file findutils gzip ]}")
  
      makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
    '';
  
negative.code:       sha256 = "sha256-/RZG+7Pmd7rmxMZf8Fvg09dUggs2MqXZahfRQ5cLcuM=";
      })
    ];
  
    postPatch = ''
      sed -i 's|/usr/share/libvirt/cpu_map.xml|${system-libvirt}/share/libvirt/cpu_map.xml|g' virtinst/capabilities.py
      sed -i "/'install_egg_info'/d" setup.py
    '';
  
    postConfigure = ''
      ${python3.interpreter} setup.py configure --prefix=$out
  