add option to disable cache.nixos.org

This commit is contained in:
cy 2025-05-07 17:14:25 -04:00
parent 68df59ad25
commit ce0e70f95a
3 changed files with 11 additions and 9 deletions

View file

@ -55,8 +55,9 @@ pub struct PushArgs {
#[arg(long)]
endpoint: Option<String>,
/// Do not include cache.nixos.org as upstream
#[arg(long)]
skip_signature_check: bool,
no_default_upstream: bool,
/// Path to upload
/// e.g. ./result or /nix/store/y4qpcibkj767szhjb58i2sidmz8m24hb-hello-2.12.1