workaround for build03
This commit is contained in:
parent
b52e0fbe09
commit
5b53d14593
1 changed files with 2 additions and 1 deletions
3
tasks.py
3
tasks.py
|
@ -20,7 +20,8 @@ def deploy_nixos(hosts: List[DeployHost]) -> None:
|
|||
)
|
||||
|
||||
config = f"/etc/nixos/{h.host.replace('.nix-community.org', '')}/configuration.nix"
|
||||
h.run(f"nixos-rebuild switch -I nixos-config={config} -I nixpkgs=$(nix-instantiate --eval -E '(import /etc/nixos/nix {{}}).path')")
|
||||
# FIXME: build03 has itself as a builder and deadlocks building packages.
|
||||
h.run(f"nixos-rebuild switch --builders '' -I nixos-config={config} -I nixpkgs=$(nix-instantiate --eval -E '(import /etc/nixos/nix {{}}).path')")
|
||||
g.run_function(deploy)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue