redis: fix cross compile
Remove a past cross compilation fix that's now causing it to break.
This commit is contained in:
parent
f6c433d5a6
commit
2d4e801866
1 changed files with 0 additions and 11 deletions
|
@ -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 ]
|
||||
|
|
Loading…
Reference in a new issue