Merge pull request #192460 from helsinki-systems/upd/redis

redis: 7.0.4 -> 7.0.5

authored by Robert Scott and committed by GitHub e97ff1ae e18ab300

+3 -3
+3 -3
pkgs/servers/nosql/redis/default.nix
··· 7 8 stdenv.mkDerivation rec { 9 pname = "redis"; 10 - version = "7.0.4"; 11 12 src = fetchurl { 13 url = "https://download.redis.io/releases/${pname}-${version}.tar.gz"; 14 - sha256 = "sha256-8OZf2nTESj3U+p1RLU1Ngz3Qk5yTTpRqXGIqYw0Ffy8="; 15 }; 16 17 nativeBuildInputs = [ pkg-config ]; ··· 23 # Note: this enables libc malloc as a temporary fix for cross-compiling. 24 # Due to hardcoded configure flags in jemalloc, we can't cross-compile vendored jemalloc properly, and so we're forced to use libc allocator. 25 # It's weird that the build isn't failing because of failure to compile dependencies, it's from failure to link them! 26 - makeFlags = [ "PREFIX=$(out)" ] 27 ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ "AR=${stdenv.cc.targetPrefix}ar" "RANLIB=${stdenv.cc.targetPrefix}ranlib" "MALLOC=libc" ] 28 ++ lib.optional withSystemd [ "USE_SYSTEMD=yes" ] 29 ++ lib.optionals tlsSupport [ "BUILD_TLS=yes" ];
··· 7 8 stdenv.mkDerivation rec { 9 pname = "redis"; 10 + version = "7.0.5"; 11 12 src = fetchurl { 13 url = "https://download.redis.io/releases/${pname}-${version}.tar.gz"; 14 + hash = "sha256-ZwVMw3tYwSXfk714AAJh7A70Q2omtA84Jix4DlYxXMM="; 15 }; 16 17 nativeBuildInputs = [ pkg-config ]; ··· 23 # Note: this enables libc malloc as a temporary fix for cross-compiling. 24 # Due to hardcoded configure flags in jemalloc, we can't cross-compile vendored jemalloc properly, and so we're forced to use libc allocator. 25 # It's weird that the build isn't failing because of failure to compile dependencies, it's from failure to link them! 26 + makeFlags = [ "PREFIX=${placeholder "out"}" ] 27 ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ "AR=${stdenv.cc.targetPrefix}ar" "RANLIB=${stdenv.cc.targetPrefix}ranlib" "MALLOC=libc" ] 28 ++ lib.optional withSystemd [ "USE_SYSTEMD=yes" ] 29 ++ lib.optionals tlsSupport [ "BUILD_TLS=yes" ];