chore(security): clean up accept-flake-config mistakes

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
raito 2024-07-18 12:12:40 +02:00
parent 10160a1373
commit 6a6c293baf

View file

@ -436,8 +436,6 @@ class NixBuildCommand(buildstep.ShellMixin, steps.BuildStep):
return cmd.results()
def nix_eval_config(
gerrit_config: GerritConfig,
project: GerritProject,
@ -480,9 +478,6 @@ def nix_eval_config(
str(worker_count),
"--max-memory-size",
str(max_memory_size),
"--option",
"accept-flake-config",
"true",
"--gc-roots-dir",
drv_gcroots_dir,
"--force-recurse",
@ -543,7 +538,6 @@ def nix_build_config(
# stop stuck builds after 20 minutes
"--max-silent-time",
str(60 * 20),
"--accept-flake-config",
"--builders",
builders_spec,
"--out-link",