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.
main
Aaron L. Zeng 2 years ago
parent 8ffc4aa12e
commit d7580d5134
  1. 2
      pkgs/development/tools/analysis/flow/default.nix

@ -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

Loading…
Cancel
Save