3
0
Fork 0
forked from mirrors/nixpkgs

nixos.tests.udisks2: state_dir is now of type pathlib.Path

This commit is contained in:
Antoine Eiche 2021-09-14 23:17:15 +02:00 committed by David Arnold
parent af859d1df1
commit 32face8dea

View file

@ -34,7 +34,7 @@ in
with lzma.open(
"${stick}"
) as data, open(machine.state_dir + "/usbstick.img", "wb") as stick:
) as data, open(machine.state_dir / "usbstick.img", "wb") as stick:
stick.write(data.read())
machine.succeed("udisksctl info -b /dev/vda >&2")