anchor.diff:      ++ 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" ];
   
  
positive.code:       rm -fr .git
      '')
  
      # Make native compilation work both inside and outside of nix build
      (lib.optionalString nativeComp (let
        libPath = lib.concatStringsSep ":" [
  
negative.code:   LIBRARY_PATH = if nativeComp then "${lib.getLib stdenv.cc.libc}/lib" else "";
  
    nativeBuildInputs = [ pkgconfig makeWrapper ]
      ++ lib.optionals srcRepo [ autoreconfHook texinfo ]
      ++ lib.optional (withX && (withGTK3 || withXwidgets)) wrapGAppsHook;
  
    buildInputs =
  