anchor.diff:  
     LIBRARY_PATH = if nativeComp then "${lib.getLib stdenv.cc.libc}/lib" else "";
   
  -  nativeBuildInputs = [ pkgconfig makeWrapper nukeReferences ]
  +  nativeBuildInputs = [ pkgconfig makeWrapper ]
       ++ lib.optionals srcRepo [ autoreconfHook texinfo ]
       ++ lib.optional (withX && (withGTK3 || withXwidgets)) wrapGAppsHook;
   
  
positive.code: 
      rm -rf $out/var
      rm -rf $siteVersionDir
  
      nuke-refs $out/libexec/emacs/*/*/emacs.pdmp
  
    '' + lib.optionalString withCsrc ''
      for srcdir in src lisp lwlib ; do
        dstdir=$siteVersionDir/$srcdir
  
negative.code: , libtiff, librsvg, gconf, libxml2, imagemagick, gnutls, libselinux
  , alsaLib, cairo, acl, gpm, AppKit, GSS, ImageIO, m17n_lib, libotf
  , jansson, harfbuzz
  , libgccjit, targetPlatform, makeWrapper # native-comp params
  , systemd ? null
  , withX ? !stdenv.isDarwin
  , withNS ? stdenv.isDarwin
  