mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
bs-platform: don't build a development binary
This commit is contained in:
parent
4311cfa157
commit
725fd9feda
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user