Skip to content

Commit 7bd0d00

Browse files
committed
Add NH_SEARCH_PLATFORM env var
1 parent b6a23ca commit 7bd0d00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interface.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ pub struct SearchArgs {
180180
/// Name of the channel to query (e.g nixos-23.11, nixos-unstable, etc)
181181
pub channel: String,
182182

183-
#[arg(long, short = 'P')]
183+
#[arg(long, short = 'P', env = "NH_SEARCH_PLATFORM", value_parser = clap::builder::BoolishValueParser::new())]
184184
/// Show supported platforms for each package
185185
pub platforms: bool,
186186

0 commit comments

Comments
 (0)