feat: non-flakes entrypoint #23
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue