anchor.diff:    LIBRARY_PATH = if nativeComp then "${lib.getLib stdenv.cc.libc}/lib" else "";
   
     nativeBuildInputs = [ pkgconfig makeWrapper ]
  -    ++ lib.optionals srcRepo [ autoconf automake texinfo ]
  +    ++ lib.optionals srcRepo [ autoreconfHook texinfo ]
       ++ lib.optional (withX && (withGTK3 || withXwidgets)) wrapGAppsHook;
   
     buildInputs =
  
positive.code:     ++ lib.optional withXwidgets "--with-xwidgets"
      ++ lib.optional nativeComp "--with-nativecomp"
      ;
  
    preConfigure = lib.optionalString srcRepo ''
      ./autogen.sh
    '' + ''
      substituteInPlace lisp/international/mule-cmds.el \
        --replace /usr/share/locale ${gettext}/share/locale
  
      for makefile_in in $(find . -name Makefile.in -print); do
          substituteInPlace $makefile_in --replace /bin/pwd pwd
      done
    '';
  
    installTargets = [ "tags" "install" ];
  
  
negative.code:       rm -fr .git
      '')
  
      ''
      substituteInPlace lisp/international/mule-cmds.el \
        --replace /usr/share/locale ${gettext}/share/locale
  
      for makefile_in in $(find . -name Makefile.in -print); do
        substituteInPlace $makefile_in --replace /bin/pwd pwd
      done
      ''
  
      # Make native compilation work both inside and outside of nix build
      (lib.optionalString nativeComp (let
        libPath = lib.concatStringsSep ":" [
  