Do not use Nix build users (nixbld*)

This commit is contained in:
Wang Siyuan 2025-12-05 12:23:04 +00:00 committed by Tate, Hongliang Tian
parent 8ce2f9373d
commit e2ddef363d
1 changed files with 4 additions and 1 deletions

View File

@ -35,7 +35,7 @@ in {
${builtins.getEnv "NIXOS_STAGE_2_INIT"}
fi
'';
# Execute test-command on hvc0 console after boot if the test-command is
# Execute test-command on hvc0 console after boot if the test-command is
# not empty (for CI testing).
environment.loginShellInit =
lib.mkIf ("${builtins.getEnv "NIXOS_TEST_COMMAND"}" != "") ''
@ -67,5 +67,8 @@ in {
filter-syscalls = false;
require-sigs = false;
sandbox = false;
# FIXME: Support Nix build users (nixbld*) and remove this setting. For detailed gaps, see
# <https://github.com/asterinas/asterinas/issues/2672>.
build-users-group = [ ];
};
}