flow: enable FLOW_RELEASE flag to demote warnings

Without this flag, warnings from the OCaml compiler (e.g., deprecated
values) are promoted to errors.  This is fine for development but
inconvenient for packaging.
This commit is contained in:
Aaron L. Zeng 2022-04-05 12:54:20 -04:00
parent 8ffc4aa12e
commit d7580d5134

View File

@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-lfj6KyB9QYvUy4Ybo8f30omAg4K/jT5MEERJPm0aJ7U=";
};
makeFlags = [ "FLOW_RELEASE=1" ];
installPhase = ''
install -Dm755 bin/flow $out/bin/flow
install -Dm644 resources/shell/bash-completion $out/share/bash-completion/completions/flow