aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/compilers/bs-platform
diff options
context:
space:
mode:
authorAntonio Nuno Monteiro <anmonteiro@gmail.com>2020-03-09 10:21:43 -0700
committerAntonio Nuno Monteiro <anmonteiro@gmail.com>2020-03-09 10:21:43 -0700
commit0f0cb0b8575247d3220cc9e352b12a98ac6447db (patch)
treec823db6ce90a1db17d3736621f9b11092725e13e /pkgs/development/compilers/bs-platform
parentc09411b89ec544df274bd6b993b63c5c27f0e567 (diff)
Note about BuckleScript's build process and why `BS_TRAVIS_CI=1` is
needed
Diffstat (limited to 'pkgs/development/compilers/bs-platform')
-rw-r--r--pkgs/development/compilers/bs-platform/build-bs-platform.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/compilers/bs-platform/build-bs-platform.nix b/pkgs/development/compilers/bs-platform/build-bs-platform.nix
index ed4e5ebba2f3..d7d0fe0b12be 100644
--- a/pkgs/development/compilers/bs-platform/build-bs-platform.nix
+++ b/pkgs/development/compilers/bs-platform/build-bs-platform.nix
@@ -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 ];