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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user