about summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorThomas Gerbet <thomas@gerbet.me>2021-05-23 12:00:44 +0200
committerThomas Gerbet <thomas@gerbet.me>2021-05-23 13:40:58 +0200
commit0d1b14161acc0c79b0712ea4f4c476684bfa41a3 (patch)
tree4a57b6ad7ff9a71b2ef9811618d6ca08f08fc9b9 /pkgs/servers
parentbda6a9c4afec1cb140f378ead96ae2df1c5a25e5 (diff)
redis: 6.2.1 -> 6.2.3
Fixes CVE-2021-29477 and CVE-2021-29478.

https://github.com/redis/redis/blob/6.2.3/00-RELEASENOTES
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/nosql/redis/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/servers/nosql/redis/default.nix b/pkgs/servers/nosql/redis/default.nix
index 48dcbb8f81382..5856d0d17b53d 100644
--- a/pkgs/servers/nosql/redis/default.nix
+++ b/pkgs/servers/nosql/redis/default.nix
@@ -5,20 +5,22 @@
 
 stdenv.mkDerivation rec {
   pname = "redis";
-  version = "6.2.1";
+  version = "6.2.3";
 
   src = fetchurl {
     url = "https://download.redis.io/releases/${pname}-${version}.tar.gz";
-    sha256 = "sha256-zSIlBQEsziCyVoL8qTHsk70hrpLLSr/nQs97dqqQdSA=";
+    sha256 = "sha256-mO19UytelnH13wglu3Hw83SDoWVGNkBJOExj24dkUSs=";
   };
 
   # Cross-compiling fixes
   configurePhase = ''
+    runHook preConfigure
     ${lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
       # This fixes hiredis, which has the AR awkwardly coded.
       # Probably a good candidate for a patch upstream.
       makeFlagsArray+=('STLIB_MAKE_CMD=${stdenv.cc.targetPrefix}ar rcs $(STLIBNAME)')
     ''}
+    runHook postConfigure
   '';
 
   nativeBuildInputs = [ pkg-config ];