fix(workdir): rebase in build/ for ShellMixin
Signed-off-by: Raito Bezarius <raito@lix.systems>
This commit is contained in:
parent
97dee6cfec
commit
2a2a2793e4
|
@ -507,7 +507,7 @@ class NixConfigure(buildstep.CommandMixin, steps.BuildStep):
|
||||||
|
|
||||||
# Takes precedence.
|
# Takes precedence.
|
||||||
configure_log.addStdout("checking if there's a .ci/buildbot.nix...")
|
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:
|
if ci_buildbot_defn_exists:
|
||||||
configure_log.addStdout(".ci/buildbot.nix found, configured for non-flake CI")
|
configure_log.addStdout(".ci/buildbot.nix found, configured for non-flake CI")
|
||||||
self.build.addStepAfterCurrentStep(
|
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:
|
if flake_exists:
|
||||||
configure_log.addStdout(f"flake.nix found")
|
configure_log.addStdout(f"flake.nix found")
|
||||||
self.build.addStepAfterCurrentStep(
|
self.build.addStepAfterCurrentStep(
|
||||||
|
|
Loading…
Reference in a new issue