mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
[Backport release-26.05] redis: 8.6.3 -> 8.8.0 (#524824)
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user