From 46aa42c6d1c3044697481924ced3d65b952cff0a Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Mon, 7 Apr 2025 15:30:24 +0200 Subject: [PATCH 1/2] Add example to --systems help Without it, the syntax is unclear. For instance, I tried commas, and that didn't work. --- nixpkgs_review/cli/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixpkgs_review/cli/__init__.py b/nixpkgs_review/cli/__init__.py index 3cc92d3c..bea4c989 100644 --- a/nixpkgs_review/cli/__init__.py +++ b/nixpkgs_review/cli/__init__.py @@ -219,7 +219,7 @@ def common_flags() -> list[CommonFlag]: "--systems", type=str, default="current", - help="Nix 'systems' to evaluate and build packages for", + help="Nix 'systems' to evaluate and build packages for (e.g. 'x86_64-linux aarch64-darwin')", ), CommonFlag( "--system", From 1653edcd29bf27a91ceadeb97646f43f8ba00f57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 9 Apr 2025 06:31:06 +0200 Subject: [PATCH 2/2] Update nixpkgs_review/cli/__init__.py Co-authored-by: Peder Bergebakken Sundt --- nixpkgs_review/cli/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixpkgs_review/cli/__init__.py b/nixpkgs_review/cli/__init__.py index bea4c989..a3e9e3e5 100644 --- a/nixpkgs_review/cli/__init__.py +++ b/nixpkgs_review/cli/__init__.py @@ -219,7 +219,7 @@ def common_flags() -> list[CommonFlag]: "--systems", type=str, default="current", - help="Nix 'systems' to evaluate and build packages for (e.g. 'x86_64-linux aarch64-darwin')", + help="Nix 'systems' to evaluate and build packages for (e.g. 'all' or 'x86_64-linux aarch64-darwin')", ), CommonFlag( "--system",