redis: 6.2.6 -> 7.0.0

https://github.com/redis/redis/releases/tag/7.0.0
This commit is contained in:
Mario Rodas 2022-04-30 04:20:00 +00:00
parent 46d8112295
commit 5ca04535ec

View file

@ -7,11 +7,11 @@
stdenv.mkDerivation rec {
pname = "redis";
version = "6.2.6";
version = "7.0.0";
src = fetchurl {
url = "https://download.redis.io/releases/${pname}-${version}.tar.gz";
sha256 = "1ariw5x33hmmm3d5al0j3307l5kf3vhmn78wpyaz67hia1x8nasv";
sha256 = "sha256-KE2L0f2F1qVaBe5OfDHDGXetVsvzRO2DeQvusUi6pyA=";
};
# Cross-compiling fixes
@ -56,6 +56,12 @@ stdenv.mkDerivation rec {
substituteInPlace tests/integration/replication.tcl \
--replace 'foreach mdl {no yes}' 'foreach mdl {}'
substituteInPlace tests/support/server.tcl \
--replace 'exec /usr/bin/env' 'exec env'
sed -i '/^proc wait_load_handlers_disconnected/{n ; s/wait_for_condition 50 100/wait_for_condition 50 500/; }' \
tests/support/util.tcl
./runtest \
--no-latency \
--timeout 2000 \