anchor.diff:      start_all()
       machine.wait_for_unit("redis")
       machine.wait_for_open_port("6379")
  +
  +    # The unix socket is accessible to the redis group
  +    machine.succeed('su member -c "redis-cli ping | grep PONG"')
  +
       machine.succeed("redis-cli ping | grep PONG")
  -    machine.succeed("redis-cli -s /run/redis/redis.sock ping | grep PONG")
  +    machine.succeed("redis-cli -s ${redisSocket} ping | grep PONG")
     '';
   })
  
positive.code: 
        {
          services.redis.enable = true;
          services.redis.unixSocket = "/run/redis/redis.sock";
        };
    };
  
  
negative.code: import ./make-test-python.nix ({ pkgs, ... }:
  let
    redisSocket = "/run/redis/redis.sock";
  in
  {
    name = "redis";
    meta = with pkgs.stdenv.lib.maintainers; {
      maintainers = [ flokli ];
  