valkey: make compatible with services.redis module (#437478)

This commit is contained in:
Sandro
2025-08-27 14:48:48 +02:00
committed by GitHub
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ let
mkTestName =
pkg: "${pkg.pname}_${builtins.replaceStrings [ "." ] [ "" ] (lib.versions.majorMinor pkg.version)}";
redisPackages = {
inherit (pkgs) redis keydb;
inherit (pkgs) redis keydb valkey;
};
makeRedisTest =
{
+6
View File
@@ -6,6 +6,7 @@
lua,
jemalloc,
pkg-config,
nixosTests,
tcl,
which,
ps,
@@ -116,6 +117,11 @@ stdenv.mkDerivation (finalAttrs: {
runHook postCheck
'';
passthru = {
tests.redis = nixosTests.redis;
serverBin = "valkey-server";
};
meta = with lib; {
homepage = "https://valkey.io/";
description = "High-performance data structure server that primarily serves key/value workloads";