Note about BuckleScript's build process and why BS_TRAVIS_CI=1 is

needed
This commit is contained in:
Antonio Nuno Monteiro 2020-03-09 10:21:43 -07:00
parent c09411b89e
commit 0f0cb0b857
No known key found for this signature in database
GPG Key ID: 5B5AF478F0A6392D

View File

@ -26,6 +26,10 @@ stdenv.mkDerivation rec {
pname = "bs-platform";
BS_RELEASE_BUILD = "true";
# BuckleScript's idiosyncratic build process only builds artifacts required
# for editor-tooling to work when this environment variable is set:
# https://github.com/BuckleScript/bucklescript/blob/7.2.0/scripts/install.js#L225-L227
BS_TRAVIS_CI = "1";
buildInputs = [ nodejs python3 custom-ninja ];