this derivation will be built: /nix/store/cqacgripk9fihi6lq6ag17x9yqjhp2cn-treefmt-check.drv error: Cannot build '/nix/store/cqacgripk9fihi6lq6ag17x9yqjhp2cn-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/3wwwl2jgvbb6rnxqnqvr99zp2r3nqfnh-treefmt-check Last 25 log lines: > > - with TemporaryDirectory(prefix="lldp-", dir=output_dir) as lldp_dir: > - with c.cd(lldp_dir): > - for host in inventory_hostnames(hosts): > - c.run(f"{shlex.quote(str(collect_script))} {shlex.quote(host)}") > - c.run(shlex.quote(str(graph_script))) > + with TemporaryDirectory(prefix="lldp-", dir=output_dir) as lldp_dir, c.cd(lldp_dir): > + for host in inventory_hostnames(hosts): > + c.run(f"{shlex.quote(str(collect_script))} {shlex.quote(host)}") > + c.run(shlex.quote(str(graph_script))) > > > @task > diff --git a/tests/test_generate_network_topology.py b/tests/test_generate_network_topology.py > index 67c98fa..5aee91a 100644 > --- a/tests/test_generate_network_topology.py > +++ b/tests/test_generate_network_topology.py > @@ -2,7 +2,6 @@ import importlib.util > import unittest > from pathlib import Path > > - > SCRIPT = Path(__file__).parents[1] / "docs" / "generate-network-topology.py" > > For full logs, run: nix log /nix/store/cqacgripk9fihi6lq6ag17x9yqjhp2cn-treefmt-check.drv