anchor.diff:       (if enableSubversionRepository then "--with-subversion" else "--without-subversion")
        (if enableTomcatWebApplication then "--with-tomcat=${catalinaBaseDir}" else "--without-tomcat")
        (if enableMongoDatabase then "--with-mongodb" else "--without-mongodb")
  +     (if enableInfluxDatabase then "--with-influxdb" else "--without-influxdb")
        "--with-job-template=${jobTemplate}"
      ];
   
  
positive.code:     ++ stdenv.lib.optional enablePostgreSQLDatabase postgresql
      ++ stdenv.lib.optional enableSubversionRepository subversion
      ++ stdenv.lib.optional enableMongoDatabase mongodb
      ++ stdenv.lib.optional enableMongoDatabase mongodb-tools;
  
    meta = {
      description = "Automated deployment of mutable components and services for Disnix";
  
negative.code: assert enableSubversionRepository -> subversion != null;
  assert enableEjabberdDump -> ejabberd != null;
  assert enableMongoDatabase -> (mongodb != null && mongodb-tools != null);
  assert enableInfluxDatabase -> influxdb != null;
  
  stdenv.mkDerivation {
    name = "dysnomia-0.9";
    src = fetchurl {
      url = https://github.com/svanderburg/dysnomia/releases/download/dysnomia-0.9/dysnomia-0.9.tar.gz;
      sha256 = "09pk2l3pss48kvm5wvskh842vakbzmjzxzfzyw1nkqnvni130ikl";
    };
  
    preConfigure = if enableEjabberdDump then "export PATH=$PATH:${ejabberd}/sbin" else "";
  