anchor.diff:  { stdenv, buildGoPackage, fetchurl
   , cmake, xz, which, autoconf
   , ncurses6, libedit, libunwind
  +, installShellFiles
   }:
   
   let
  
positive.code:   linuxDeps  = [ ncurses6 ];
  
    buildInputs = if stdenv.isDarwin then darwinDeps else linuxDeps;
    nativeBuildInputs = [ cmake xz which autoconf ];
  
  in
  buildGoPackage rec {
  
negative.code:     runHook preInstall
  
      install -D cockroachoss $bin/bin/cockroach
      installShellCompletion cockroach.bash
  
      mkdir -p $man/share/man
      cp -r man $man/share/man
  