diff options
| author | seth <[email protected]> | 2025-01-04 00:05:35 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-01-04 05:05:35 +0000 |
| commit | 3d701943d17e9b34820ca2f26e1f63a5031584da (patch) | |
| tree | a607cca29613a2c2d592b24f13145500be44a991 /src/cli.rs | |
| parent | 8f1c8eea5f2d647ead5a2fcebd0f2fb98b6e976c (diff) | |
feat: allow for querying multiple substituters (#49)
Diffstat (limited to 'src/cli.rs')
| -rw-r--r-- | src/cli.rs | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -11,9 +11,14 @@ pub struct Cli { #[arg(short, long, conflicts_with("installables"))] pub configuration: Option<String>, - /// URL of the substituter to check - #[arg(short, long, default_value = "https://cache.nixos.org")] - pub binary_cache: String, + /// URLs of the substituters to check (can be passed more than once) + #[arg( + alias = "binary-cache", + short, + long, + default_value = "https://cache.nixos.org" + )] + pub binary_caches: Vec<String>, /// Flake reference of nixpkgs (or other package repository) #[arg(short, long, default_value = "nixpkgs")] |
