From 62cf77a8b69509729fca514f9ee558cc0e05f917 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Mon, 3 Jan 2022 10:54:59 -0800 Subject: [PATCH] manual: Only render apply-local help on Linux --- manual/colorized-help.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/manual/colorized-help.nix b/manual/colorized-help.nix index a9fda85..bb8eb79 100644 --- a/manual/colorized-help.nix +++ b/manual/colorized-help.nix @@ -1,4 +1,4 @@ -{ runCommand, colmena, ansi2html }: +{ lib, stdenv, runCommand, colmena, ansi2html }: with builtins; @@ -6,7 +6,9 @@ let subcommands = [ null "apply" - "apply-local" + ] + ++ lib.optional stdenv.isLinux "apply-local" + ++ [ "build" "upload-keys" "eval"