redis: fix cross compile

Remove a past cross compilation fix that's now causing it to break.
This commit is contained in:
squalus 2022-08-25 18:08:47 -07:00
parent f6c433d5a6
commit 2d4e801866

View file

@ -14,17 +14,6 @@ stdenv.mkDerivation rec {
sha256 = "sha256-8OZf2nTESj3U+p1RLU1Ngz3Qk5yTTpRqXGIqYw0Ffy8=";
};
# 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 ];
buildInputs = [ lua ]