From 5cdbbaa029dd1715a82b00d77fb5e6c0795fd449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20=C5=BDlender?= Date: Fri, 22 Dec 2023 21:08:51 +0100 Subject: [PATCH] redocly-cli: silence update messages --- pkgs/by-name/re/redocly-cli/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/re/redocly-cli/package.nix b/pkgs/by-name/re/redocly-cli/package.nix index d22b09b53a41d..aa1c49cae249d 100644 --- a/pkgs/by-name/re/redocly-cli/package.nix +++ b/pkgs/by-name/re/redocly-cli/package.nix @@ -31,7 +31,10 @@ buildNpmPackage rec { cp -R packages/core $out/lib/node_modules/@redocly/cli/node_modules/@redocly/openapi-core mkdir $out/bin - makeWrapper $out/lib/node_modules/@redocly/cli/node_modules/@redocly/cli/bin/cli.js $out/bin/redocly-cli --set REDOCLY_TELEMETRY off + makeWrapper $out/lib/node_modules/@redocly/cli/node_modules/@redocly/cli/bin/cli.js \ + $out/bin/redocly-cli \ + --set-default REDOCLY_TELEMETRY off \ + --set-default CI true # Silence update messages ''; installCheckPhase = ''