anchor.diff:      "-DICINGA2_USER=icinga2"
       "-DICINGA2_GROUP=icinga2"
       "-DICINGA2_GIT_VERSION_INFO=OFF"
  -    "-DICINGA2_WITH_TESTS=OFF"
       "-DUSE_SYSTEMD=ON"
     ];
  +
  +  outputs = [ "out" "doc" ];
   
     buildInputs = [ boost openssl systemd ]
       ++ lib.optional withPostgresql postgresql;
   
     nativeBuildInputs = [ cmake flex bison patchelf ];
  +
  +  doCheck = true;
  +  checkInputs = [ tzdata ]; # legacytimeperiod/dst needs this
   
     postFixup = ''
       rm -r $out/etc/logrotate.d $out/etc/sysconfig $out/lib/icinga2/prepare-dirs
  
positive.code: { stdenv, lib, fetchFromGitHub, fetchpatch, cmake, flex, bison, systemd
  , boost, openssl, patchelf, mariadb-connector-c, postgresql, zlib
  # Databases
  , withMysql ? true, withPostgresql ? false
  # Features
  
negative.code:     ''}
    '';
  
    vim = runCommand "vim-icinga2-${version}" {} ''
      mkdir -p $out/share/vim-plugins
      cp -r "${src}/tools/syntax/vim" $out/share/vim-plugins/icinga2
    '';
  
    meta = {
      description = "Open source monitoring system";
  