anchor.diff:    };
   
     nativeBuildInputs = [
  -    wrapGAppsHook intltool file
  +    intltool file
       gobject-introspection # for setup hook populating GI_TYPELIB_PATH
     ];
   
     buildInputs = [
  +    wrapGAppsHook
       libvirt-glib vte dconf gtk-vnc gnome3.adwaita-icon-theme avahi
       gsettings-desktop-schemas libosinfo gtksourceview4
       gobject-introspection # Temporary fix, see https://github.com/NixOS/nixpkgs/issues/56943
  
positive.code: 
  with stdenv.lib;
  
  python3Packages.buildPythonApplication rec {
    name = "virt-manager-${version}";
    version = "2.2.0";
  
negative.code: 
    postConfigure = ''
      ${python3Packages.python.interpreter} setup.py configure --prefix=$out
    '';
  
    # TODO: remove after there's support for setupPyDistFlags
    buildPhase = ''
      runHook preBuild
      cp ${setuppy} nix_run_setup
      ${python3Packages.python.pythonForBuild.interpreter} nix_run_setup --no-update-icon-cache build_ext bdist_wheel
      runHook postBuild
    '';
  
    postInstall = ''
  