Merge pull request #171118 from marsam/update-redis

redis: 6.2.6 -> 7.0.0
This commit is contained in:
Robert Scott 2022-05-02 00:29:44 +01:00 committed by GitHub
commit 78c65ff343
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 \