Merge pull request #330681 from uninsane/pr-hiredis-cross

hiredis: fix cross compilation
This commit is contained in:
Aleksana 2024-08-03 21:10:42 +08:00 committed by GitHub
commit 38beb2eb71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,6 @@
stdenv.mkDerivation rec {
pname = "hiredis";
version = "1.2.0";
nativeBuildInputs = [openssl];
src = fetchFromGitHub {
owner = "redis";
@ -12,6 +11,10 @@ stdenv.mkDerivation rec {
sha256 = "sha256-ZxUITm3OcbERcvaNqGQU46bEfV+jN6safPalG0TVfBg=";
};
buildInputs = [
openssl
];
PREFIX = "\${out}";
USE_SSL = 1;