feat: non-flakes entrypoint #23

Open
raito wants to merge 17 commits from non-flakes-rerun into main
Showing only changes of commit 996b932b21 - Show all commits

View file

@ -507,7 +507,7 @@ class NixConfigure(buildstep.CommandMixin, steps.BuildStep):
# Takes precedence.
configure_log.addStdout("checking if there's a .ci/buildbot.nix...")
ci_buildbot_defn_exists = yield self.pathExists('.ci/buildbot.nix')
ci_buildbot_defn_exists = yield self.pathExists('build/.ci/buildbot.nix')
if ci_buildbot_defn_exists:
configure_log.addStdout(".ci/buildbot.nix found, configured for non-flake CI")
self.build.addStepAfterCurrentStep(
@ -518,7 +518,7 @@ class NixConfigure(buildstep.CommandMixin, steps.BuildStep):
)
)
flake_exists = yield self.pathExists('flake.nix')
flake_exists = yield self.pathExists('build/flake.nix')
if flake_exists:
configure_log.addStdout(f"flake.nix found")
self.build.addStepAfterCurrentStep(