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

Signed-off-by: Raito Bezarius <raito@lix.systems>
This commit is contained in:
raito 2024-07-19 19:24:33 +02:00
parent 9d457e6e02
commit a4613f8ce6

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",