anchor.diff:          mkdir -p "$out"
   
           echo "$cassandraYaml" > "$out/cassandra.yaml"
  -        ln -s "$cassandraEnvPkg" "$out/cassandra-env.sh"
           ln -s "$cassandraLogbackConfig" "$out/logback.xml"
  +
  +        cp "$cassandraEnvPkg" "$out/cassandra-env.sh"
  +        # Delete default JMX Port, otherwise we can't set it using env variable
  +        sed -i '/JMX_PORT="7199"/d' "$out/cassandra-env.sh"
         '';
       };
   in {
  
positive.code:           Options passed through to the incremental repair command.
          '';
      };
    };
  
    config = mkIf cfg.enable {
      assertions =
        [ { assertion =
            (cfg.listenAddress == null || cfg.listenInterface == null)
            && !(cfg.listenAddress == null && cfg.listenInterface == null);
            message = "You have to set either listenAddress or listenInterface";
          }
          { assertion =
            (cfg.rpcAddress == null || cfg.rpcInterface == null)
            && !(cfg.rpcAddress == null && cfg.rpcInterface == null);
            message = "You have to set either rpcAddress or rpcInterface";
          }
        ];
      users = mkIf (cfg.user == defaultUser) {
  
negative.code:         environment =
            { CASSANDRA_CONF = "${cassandraEtc}";
              JVM_OPTS = builtins.concatStringsSep " " cfg.jvmOpts;
              MAX_HEAP_SIZE = toString cfg.maxHeapSize;
              HEAP_NEWSIZE = toString cfg.heapNewSize;
              MALLOC_ARENA_MAX = toString cfg.mallocArenaMax;
              LOCAL_JMX = if cfg.remoteJmx then "no" else "yes";
              JMX_PORT = toString cfg.jmxPort;
            };
          wantedBy = [ "multi-user.target" ];
          serviceConfig =
  