diff --git a/pkgs/by-name/hi/hiredis/package.nix b/pkgs/by-name/hi/hiredis/package.nix index c692c92fd0ec..ec2f605cbd00 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 = [ @@ -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; }; }) 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 '' + (