From 8318bd7dbfe32acd5f8f55f1752cce22dd4445f9 Mon Sep 17 00:00:00 2001 From: Hythera <87016780+Hythera@users.noreply.github.com> Date: Wed, 6 May 2026 20:06:01 +0200 Subject: [PATCH 1/2] hiredis: 1.2.0 -> 1.3.0 changelog: https://github.com/redis/hiredis/releases/tag/v1.3.0 diff: https://github.com/redis/hiredis/compare/v1.2.0...v1.3.0 --- pkgs/by-name/hi/hiredis/package.nix | 4 ++-- pkgs/development/php-packages/relay/default.nix | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/hi/hiredis/package.nix b/pkgs/by-name/hi/hiredis/package.nix index c692c92fd0ec..60ab683c3ef5 100644 --- a/pkgs/by-name/hi/hiredis/package.nix +++ b/pkgs/by-name/hi/hiredis/package.nix @@ -7,13 +7,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "hiredis"; - version = "1.2.0"; + version = "1.3.0"; src = fetchFromGitHub { owner = "redis"; repo = "hiredis"; rev = "v${finalAttrs.version}"; - sha256 = "sha256-ZxUITm3OcbERcvaNqGQU46bEfV+jN6safPalG0TVfBg="; + hash = "sha256-gbCLIz6nOpPbu0xbsxUVvr7XmvGdVWZQJWjpE76NIXY="; }; buildInputs = [ diff --git a/pkgs/development/php-packages/relay/default.nix b/pkgs/development/php-packages/relay/default.nix index 4f84accf0b55..592635bb6682 100644 --- a/pkgs/development/php-packages/relay/default.nix +++ b/pkgs/development/php-packages/relay/default.nix @@ -83,6 +83,16 @@ stdenv.mkDerivation (finalAttrs: { internalDeps = [ php.extensions.session ]; installPhase = '' runHook preInstall + '' + + lib.optionalString stdenv.hostPlatform.isLinux '' + # Temporary patch as relay isn't compatible with the latest version of hiredis out of + # the box. + patchelf \ + --replace-needed libhiredis.so.1.1.0 libhiredis.so.1 \ + --replace-needed libhiredis_ssl.so.1.1.0 libhiredis_ssl.so.1 \ + relay.so + '' + + '' install -Dm755 relay.so -t $out/lib/php/extensions '' + ( From 1bb4c6be164ea1aa78987c7bf41605508a95d553 Mon Sep 17 00:00:00 2001 From: Hythera <87016780+Hythera@users.noreply.github.com> Date: Wed, 6 May 2026 20:06:59 +0200 Subject: [PATCH 2/2] hiredis: add hythera as maintainer --- pkgs/by-name/hi/hiredis/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/hi/hiredis/package.nix b/pkgs/by-name/hi/hiredis/package.nix index 60ab683c3ef5..ec2f605cbd00 100644 --- a/pkgs/by-name/hi/hiredis/package.nix +++ b/pkgs/by-name/hi/hiredis/package.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://github.com/redis/hiredis"; description = "Minimalistic C client for Redis >= 1.2"; license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ hythera ]; platforms = lib.platforms.all; }; })