anchor.diff:    ];
   
     doCheck = !stdenv.isAarch64;
  +
  +  # During configurePhase, two python scripts are generated and need this. See
  +  # https://github.com/NixOS/nixpkgs/pull/98316#issuecomment-695785692
  +  postConfigure = ''
  +    patchShebangs tools/*
  +  '';
   
     preCheck = ''
       # Our gobject-introspection patches make the shared library paths absolute
  
positive.code: 
  stdenv.mkDerivation rec {
    pname = "gobject-introspection";
    version = "1.64.1";
  
    # outputs TODO: share/gobject-introspection-1.0/tests is needed during build
    # by pygobject3 (and maybe others), but it's only searched in $out
  
negative.code: 
    src = fetchurl {
      url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
      sha256 = "0q00llz0p7qik19a9fxq4bf6mqqqivkv77fqhcgqygvwxhxflrix";
    };
  
    patches = [
  