fixup! fix(build): use per-worker slot store
This commit is contained in:
parent
56519a81c3
commit
de4ae582c8
|
@ -622,6 +622,20 @@ def nix_build_config(
|
||||||
) -> util.BuilderConfig:
|
) -> util.BuilderConfig:
|
||||||
"""Builds one nix flake attribute."""
|
"""Builds one nix flake attribute."""
|
||||||
factory = util.BuildFactory()
|
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(
|
factory.addStep(
|
||||||
NixBuildCommand(
|
NixBuildCommand(
|
||||||
env={},
|
env={},
|
||||||
|
|
Loading…
Reference in a new issue