anchor.diff:    buildInputs = [ ncurses /* for `talk' */ perl /* for `whois' */ help2man ];
   
     configureFlags = [ "--with-ncurses-include-dir=${ncurses.dev}/include" ]
  -  ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [ # Musl doesn't define rcmd
  +  ++ lib.optionals stdenv.hostPlatform.isMusl [ # Musl doesn't define rcmd
       "--disable-rcp"
       "--disable-rsh"
       "--disable-rlogin"
       "--disable-rexec"
  -  ];
  +  ] ++ lib.optional stdenv.isDarwin  "--disable-servers";
   
     # Test fails with "UNIX socket name too long", probably because our
     # $TMPDIR is too long.
  -  #doCheck = true;
  +  doCheck = false;
   
  +  installFlags = [ "SUIDMODE=" ];
   
  -  postInstall = ''
  -    # XXX: These programs are normally installed setuid but since it
  -    # fails, they end up being non-executable, hence this hack.
  -    chmod +x $out/bin/{ping,ping6,${stdenv.lib.optionalString (!stdenv.hostPlatform.isMusl) ''rcp,rlogin,rsh,''}traceroute}
  -  '';
  -
  -  meta = {
  +  meta = with lib; {
       description = "Collection of common network programs";
   
       longDescription =
  
positive.code: { stdenv, fetchurl, ncurses, perl, help2man }:
  
  stdenv.mkDerivation rec {
    name = "inetutils-1.9.4";
  
negative.code:       '';
  
      homepage = http://www.gnu.org/software/inetutils/;
      license = licenses.gpl3Plus;
  
      maintainers = with maintainers; [ matthewbauer ];
      platforms = platforms.unix;
    };
  }
  