Martin Weinelt 52ccfdfbcc redisTestHook: enable debug and module commands
and migrate to config file for more extensive configuration options.
2025-05-23 08:37:26 -07:00

20 lines
368 B
Nix

{
lib,
callPackage,
makeSetupHook,
valkey,
python3Packages,
}:
makeSetupHook {
name = "redis-test-hook";
substitutions = {
cli = lib.getExe' valkey "redis-cli";
server = lib.getExe' valkey "redis-server";
};
passthru.tests = {
simple = callPackage ./test.nix { };
python3-valkey = python3Packages.valkey;
};
} ./redis-test-hook.sh