From da2bfff4b1948ca63be89f8660422df73677f4fd Mon Sep 17 00:00:00 2001 From: Hythera <87016780+Hythera@users.noreply.github.com> Date: Mon, 25 May 2026 22:58:18 +0200 Subject: [PATCH] redis: 8.6.3 -> 8.8.0 changelog: https://github.com/redis/redis/releases/tag/8.8.0 diff: https://github.com/redis/redis/compare/8.6.3...8.8.0 (cherry picked from commit a18536590a33229125a82df00740b51ffafaee96) --- pkgs/by-name/re/redis/package.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/re/redis/package.nix b/pkgs/by-name/re/redis/package.nix index 0a8b742b120b..c20608d23d3d 100644 --- a/pkgs/by-name/re/redis/package.nix +++ b/pkgs/by-name/re/redis/package.nix @@ -27,13 +27,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "redis"; - version = "8.6.3"; + version = "8.8.0"; src = fetchFromGitHub { owner = "redis"; repo = "redis"; tag = finalAttrs.version; - hash = "sha256-Zg2bghU4uExwI1SWplYIGCeGRhgRxdh3Oy9k1DZPado="; + hash = "sha256-D9rhe5GC0axhKHoRfeegUIGYXbrcEsa9m9vYJVxwtCk="; }; patches = lib.optional useSystemJemalloc (fetchpatch2 { @@ -41,13 +41,7 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-A9qp+PWQRuNy/xmv9KLM7/XAyL7Tzkyn0scpVCGngcc="; }); - postPatch = '' - # Using `yes` seems to be an invalid value and causes the test to fail. See - # https://github.com/redis/redis/blob/bd3b38d41070b478c58bc8b72d2af89cbccd1a40/redis.conf#L674-L688 - substituteInPlace tests/integration/replication.tcl \ - --replace-fail 'repl-diskless-load yes' ' repl-diskless-load on-empty-db' - '' - + lib.optionalString stdenv.hostPlatform.isDarwin '' + postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' # The path `/Library/...` isn't available in the build sandbox. The package `apple-sdk` # can provide that functionality for us. substituteInPlace src/modules/Makefile modules/vector-sets/Makefile tests/modules/Makefile \