mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
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:
parent
8ffc4aa12e
commit
d7580d5134
@ -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…
Reference in New Issue
Block a user