anchor.diff:    ] ++ stdenv.lib.optionals stdenv.isLinux [
       iptables libatasmart libcredis libmodbus libsigrok
       lm_sensors lvm2 rabbitmq-c udev net_snmp libmnl
  +    libapparmor numactl libcap_ng
     ] ++ stdenv.lib.optionals stdenv.isDarwin [
       darwin.apple_sdk.frameworks.IOKit
       darwin.apple_sdk.frameworks.ApplicationServices
     ];
   
  -  configureFlags = [ "--localstatedir=/var" ];
  +  configureFlags = [
  +    "--localstatedir=/var"
  +    "--disable-werror"
  +  ];
   
     # do not create directories in /var during installPhase
     postConfigure = ''
  
positive.code:     sha256 = "1njk8hh56gb755xafsh7ahmqr9k2d4lam4ddj7s7fqz0gjigv5p7";
    };
  
    # on 5.8.0: lvm2app.h:21:2: error: #warning "liblvm2app is deprecated, use D-Bus API instead." [-Werror=cpp]
    NIX_CFLAGS_COMPILE = [ "-Wno-error=cpp" ];
  
    nativeBuildInputs = [ pkgconfig ];
    buildInputs = [
      curl libdbi libgcrypt libmemcached
      cyrus_sasl libnotify gdk_pixbuf liboping libpcap libvirt
  
negative.code: { stdenv, fetchurl, fetchpatch, darwin
  , autoreconfHook
  , pkgconfig
  , curl
  , iptables
  , jdk
  , libapparmor
  , libatasmart
  , libcap_ng
  , libcredis
  , libdbi
  , libgcrypt
  , libmemcached, cyrus_sasl
  , libmicrohttpd
  , libmodbus
  , libnotify, gdk_pixbuf
  , liboping
  , libpcap
  , libsigrok
  , libvirt
  , libxml2
  , libtool
  , lm_sensors
  , lvm2
  , mysql
  , numactl
  , postgresql
  , protobufc
  , python
  , rabbitmq-c
  , riemann_c_client
  , rrdtool
  , udev
  , varnish
  , yajl
  , net_snmp
  , hiredis
  , libmnl
  , mosquitto
  , rdkafka
  , mongoc
  }:
  stdenv.mkDerivation rec {
    version = "5.8.1";
  