diff options
author | Antonio Nuno Monteiro <anmonteiro@gmail.com> | 2020-03-09 10:21:43 -0700 |
---|---|---|
committer | Antonio Nuno Monteiro <anmonteiro@gmail.com> | 2020-03-09 10:21:43 -0700 |
commit | 0f0cb0b8575247d3220cc9e352b12a98ac6447db (patch) | |
tree | c823db6ce90a1db17d3736621f9b11092725e13e | |
parent | c09411b89ec544df274bd6b993b63c5c27f0e567 (diff) | |
download | nixlib-0f0cb0b8575247d3220cc9e352b12a98ac6447db.tar nixlib-0f0cb0b8575247d3220cc9e352b12a98ac6447db.tar.gz nixlib-0f0cb0b8575247d3220cc9e352b12a98ac6447db.tar.bz2 nixlib-0f0cb0b8575247d3220cc9e352b12a98ac6447db.tar.lz nixlib-0f0cb0b8575247d3220cc9e352b12a98ac6447db.tar.xz nixlib-0f0cb0b8575247d3220cc9e352b12a98ac6447db.tar.zst nixlib-0f0cb0b8575247d3220cc9e352b12a98ac6447db.zip |
Note about BuckleScript's build process and why `BS_TRAVIS_CI=1` is
needed
-rw-r--r-- | pkgs/development/compilers/bs-platform/build-bs-platform.nix | 4 |
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 ]; |