fixup! fix(build): use per-worker slot store

This commit is contained in:
raito 2024-07-22 23:10:33 +02:00
parent 56519a81c3
commit de4ae582c8

View file

@ -622,6 +622,20 @@ def nix_build_config(
) -> util.BuilderConfig:
"""Builds one nix flake attribute."""
factory = util.BuildFactory()
factory.addStep(
steps.ShellCommand(
name="Copy the derivation to the local worker store",
command=[
"nix",
"copy",
"--to",
"../store",
"--no-check-sigs",
util.Interpolate("%(prop:drv_path)s^*")
]
)
)
factory.addStep(
NixBuildCommand(
env={},