anchor.diff: -{ stdenv, fetchurl, pkgconfig, libpipeline, db, groff }:
  +{ stdenv, fetchurl, pkgconfig, libpipeline, db, groff, makeWrapper }:
   
   stdenv.mkDerivation rec {
     name = "man-db-2.7.5";
  
positive.code:   outputs = [ "out" "doc" ];
    outputMan = "out"; # users will want `man man` to work
  
    nativeBuildInputs = [ pkgconfig ];
    buildInputs = [ libpipeline db groff ];
    troff="${groff}/bin/groff";
  
    postPatch = ''
      substituteInPlace src/man_db.conf.in \
  
negative.code:     # Don't try /etc/man_db.conf by default, so we avoid error messages.
      "--with-config-file=\${out}/etc/man_db.conf"
      "--with-systemdtmpfilesdir=\${out}/lib/tmpfiles.d"
    ];
  
    postInstall = ''
      for i in "$out/bin/"*; do
        wrapProgram "$i" --prefix PATH : "${groff}/bin"
      done
    '';
  
    enableParallelBuilding = true;
  
  