anchor.diff:      for s in $out/icinga2/etc/icinga2/scripts/* ; do
         substituteInPlace $s --replace /usr/bin/printf printf
       done
  +
  +    wrapProgram $out/lib/icinga2/sbin/icinga2 \
  +      --prefix LD_LIBRARY_PATH : $out/lib/icinga2
  +
       rm -vf $out/sbin/icinga2
       ln -svf $out/lib/icinga2/sbin/icinga2 $out/sbin/icinga2
       test -x $out/sbin/icinga2
  
positive.code: , bison, boost, cmake, flex
  , libedit, mariadb, postgresql
  , openssl, yajl, pkgconfig
  }:
  
  stdenv.mkDerivation rec {
  
negative.code:   };
  
    buildInputs = [
      bison boost cmake flex libedit makeWrapper mariadb.client openssl
      pkgconfig postgresql yajl
    ];
  
    patches = [
  