bs-platform: fix build on aarch64

Co-Authored-By: Jon <jonringer@users.noreply.github.com>
This commit is contained in:
Antonio Nuno Monteiro 2020-02-02 10:51:21 -08:00
parent 5c2a7d0f07
commit 56dcbc391a
No known key found for this signature in database
GPG key ID: 5B5AF478F0A6392D
2 changed files with 2 additions and 6 deletions

View file

@ -30,9 +30,8 @@ stdenv.mkDerivation {
cp ${custom-ninja}/bin/ninja vendor/ninja/snapshot/ninja.linux
'';
configurePhase = ''
node scripts/ninja.js config
'';
# avoid building the development version, will break aarch64 build
dontConfigure = true;
buildPhase = ''
# This is an unfortunate name, but it's actually how to build a release

View file

@ -21,8 +21,5 @@ in
license = licenses.lgpl3;
maintainers = with maintainers; [ turbomack gamb anmonteiro ];
platforms = platforms.all;
# Currently there is an issue with aarch build in hydra
# https://github.com/BuckleScript/bucklescript/issues/4091
badPlatforms = platforms.aarch64;
};
})