From d7580d5134c5135cf4e720bbb9433115fc541938 Mon Sep 17 00:00:00 2001 From: "Aaron L. Zeng" Date: Tue, 5 Apr 2022 12:54:20 -0400 Subject: [PATCH] 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. --- pkgs/development/tools/analysis/flow/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/tools/analysis/flow/default.nix b/pkgs/development/tools/analysis/flow/default.nix index 2d97b64b11e8..d9d973d0ff50 100644 --- a/pkgs/development/tools/analysis/flow/default.nix +++ b/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