From 6a6c293bafecca0fa60a74cd378ff45aae4c0ca9 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Thu, 18 Jul 2024 12:12:40 +0200 Subject: [PATCH] chore(security): clean up accept-flake-config mistakes Signed-off-by: Raito Bezarius --- buildbot_nix/__init__.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/buildbot_nix/__init__.py b/buildbot_nix/__init__.py index c02c869..9eef54a 100644 --- a/buildbot_nix/__init__.py +++ b/buildbot_nix/__init__.py @@ -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",