anchor.diff:      json-c
       libnfnetlink
       libnl
  -    #net-snmp
  +    net-snmp
       openssl
  +    pcre2_lib
     ];
   
     configureFlags = [
  
positive.code:     "--localstatedir=/var"
      "--disable-silent-rules"
      "--enable-bfd"
      #"--enable-snmp"
      #"--enable-snmp-vrrp"
      #"--enable-snmp-checker"
      #"--enable-snmp-rfc"
      #"--enable-snmp-rfcv2"
      #"--enable-snmp-rfcv3"
      "--enable-dbus"
      "--enable-json"
      "--enable-sha1"
    ];
  
    preInstall = ''
      installFlagsArray+=(
  
negative.code: , libnl
  , net-snmp
  , openssl
  , pcre2_lib
  }:
  
  let
    version = "2.0.11";
  in
  stdenv.mkDerivation rec {
    name = "keepalived-${version}";
  
    src = fetchurl {
      url = "http://keepalived.org/software/${name}.tar.gz";
      multihash = "Qmdhm3KTyBnwPd3SKEYi56sQcZUYgzvzs7e9kH958Lw9yV";
      hashOutput = false;
      sha256 = "a298b0c02a20959cfc365b62c14f45abd50d5e0595b2869f5bce10ec2392fa48";
    };
  
    buildInputs = [
  