Use 30k range not 3k range for UIDs on Linux and 30k for a GID on all (#222)
This commit is contained in:
parent
8042ac5131
commit
4d2e2c3911
|
@ -87,7 +87,7 @@ pub struct CommonSettings {
|
||||||
feature = "cli",
|
feature = "cli",
|
||||||
clap(
|
clap(
|
||||||
long,
|
long,
|
||||||
default_value_t = 3000,
|
default_value_t = 30_000,
|
||||||
env = "NIX_INSTALLER_NIX_BUILD_GROUP_ID",
|
env = "NIX_INSTALLER_NIX_BUILD_GROUP_ID",
|
||||||
global = true
|
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 = "macos", feature = "cli"), clap(default_value_t = 300))]
|
||||||
#[cfg_attr(
|
#[cfg_attr(
|
||||||
all(target_os = "linux", feature = "cli"),
|
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,
|
pub(crate) nix_build_user_id_base: usize,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue