arcanist: fix on aarch64
This commit is contained in:
parent
6e8021d412
commit
3a5c489603
@ -21,11 +21,18 @@ stdenv.mkDerivation rec {
|
|||||||
src = [ arcanist libphutil ];
|
src = [ arcanist libphutil ];
|
||||||
buildInputs = [ php makeWrapper flex ];
|
buildInputs = [ php makeWrapper flex ];
|
||||||
|
|
||||||
unpackPhase = "true";
|
unpackPhase = ''
|
||||||
buildPhase = ''
|
|
||||||
cp -R ${libphutil} libphutil
|
cp -R ${libphutil} libphutil
|
||||||
cp -R ${arcanist} arcanist
|
cp -R ${arcanist} arcanist
|
||||||
chmod +w -R libphutil arcanist
|
chmod +w -R libphutil arcanist
|
||||||
|
'';
|
||||||
|
|
||||||
|
postPatch = stdenv.lib.optionalString stdenv.isAarch64 ''
|
||||||
|
substituteInPlace libphutil/support/xhpast/Makefile \
|
||||||
|
--replace "-minline-all-stringops" ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
(
|
(
|
||||||
cd libphutil/support/xhpast
|
cd libphutil/support/xhpast
|
||||||
make clean all install
|
make clean all install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user