ruff: Fix upcoming ruff lints

Fix upcoming ruff lints to enable the nixpkgs bump
This commit is contained in:
a-kenji
2025-11-11 11:19:29 +01:00
parent 9ddcda8f10
commit 07803c46c5
6 changed files with 7 additions and 7 deletions

View File

@@ -501,7 +501,7 @@ def setup_filesystems(container: ContainerInfo) -> None:
if file.is_symlink():
target = file.readlink()
sym = container.nix_store_dir / file.name
os.symlink(target, sym)
sym.symlink_to(target)
# Read /proc/mounts and replicate every bind mount
with Path("/proc/self/mounts").open() as f: