diff --git a/src/interface.rs b/src/interface.rs index ca42a81..53371fd 100644 --- a/src/interface.rs +++ b/src/interface.rs @@ -114,7 +114,7 @@ pub struct OsRebuildArgs { pub extra_args: Vec, /// Bypass the check to call nh as root directly. - #[arg(short = 'R', long)] + #[arg(short = 'R', long, env = "NH_BYPASS_ROOT_CHECK")] pub bypass_root_check: bool, }