bs-platform: don't build a development binary

This commit is contained in:
Antonio Nuno Monteiro 2020-01-14 22:44:44 -08:00
parent 4311cfa157
commit 725fd9feda
No known key found for this signature in database
GPG Key ID: 5B5AF478F0A6392D

View File

@ -35,11 +35,12 @@ stdenv.mkDerivation {
'';
buildPhase = ''
node scripts/ninja.js build
# This is an unfortunate name, but it's actually how to build a release
# binary for BuckleScript
node scripts/install.js
'';
installPhase = ''
node scripts/install.js
mkdir -p $out/bin
cp -rf jscomp lib vendor odoc_gen native $out
cp bsconfig.json package.json $out