Use 30k range not 3k range for UIDs on Linux and 30k for a GID on all (#222)

This commit is contained in:
Ana Hobden 2023-02-01 10:41:10 -08:00 committed by GitHub
parent 8042ac5131
commit 4d2e2c3911
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,7 @@ pub struct CommonSettings {
feature = "cli",
clap(
long,
default_value_t = 3000,
default_value_t = 30_000,
env = "NIX_INSTALLER_NIX_BUILD_GROUP_ID",
global = true
)
@ -118,7 +118,7 @@ pub struct CommonSettings {
#[cfg_attr(all(target_os = "macos", feature = "cli"), clap(default_value_t = 300))]
#[cfg_attr(
all(target_os = "linux", feature = "cli"),
clap(default_value_t = 3000)
clap(default_value_t = 30_000)
)]
pub(crate) nix_build_user_id_base: usize,