anchor.diff:  { stdenv, hostPlatform, fetchcvs, lib, groff, mandoc, zlib, coreutils
  -, yacc, flex, libressl, bash, more }:
  +, yacc, flex, libressl, bash, less, writeText }:
   
   let
     fetchNetBSD = path: version: sha256: fetchcvs {
  
positive.code:     NOGCCERROR = "yes";
      LEX = "flex";
      MKUNPRIVED = "yes";
      INSTPRIV = '' ''${INSTPRIV.unpriv}'';
      HOST_SH = "${bash}/bin/sh";
      OBJCOPY = if stdenv.isDarwin then "true" else "objcopy";
      PRESERVE = "-p";
      MACHINE_ARCH = hostPlatform.parsed.cpu.name;
      MACHINE_CPU = hostPlatform.parsed.cpu.name;
  
      # libs will be provided by cc-wrapper
      LIBCRT0 = "";
  
negative.code:       substituteInPlace term.c --replace /usr/share $out/share
      '';
      postInstall = ''
        (cd $NETBSDSRCDIR/share/terminfo && make && make BINDIR=/share install)
      '';
      extraPaths = [
  