anchor.diff:      "--enable-perfdhcp"
       "--enable-shell"
       "--localstatedir=/var"
  +    "--with-openssl=${lib.getDev openssl}"
       "--with-mysql=${lib.getDev libmysqlclient}/bin/mysql_config"
       "--with-pgsql=${postgresql}/bin/pg_config"
     ];
  
positive.code:     sha256 = "sha256-2n2QymKncmAtrG535QcxkDhCKJWtaO6xQvFIfWfVMdI=";
    };
  
    patches = [ ./dont-create-var.patch ];
  
    postPatch = ''
      substituteInPlace ./src/bin/keactrl/Makefile.am --replace '@sysconfdir@' "$out/etc"
  
negative.code: { stdenv
  , lib
  , fetchurl
  
  # build time
  , autoreconfHook
  , pkg-config
  
  # runtime
  , boost
  , libmysqlclient
  , log4cplus
  , openssl
  , postgresql
  , python3
  
  # tests
  , nixosTests
  }:
  
  