mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
nixos/drawterm: fix machine usage deprecation
I decided to define the variable `machine` here, that seems cleaner than
writing `${name}.method()` everywhere.
This commit is contained in:
@@ -49,6 +49,8 @@ let
|
||||
enableOCR = true;
|
||||
|
||||
testScript = ''
|
||||
machine = ${name}
|
||||
|
||||
@polling_condition
|
||||
def drawterm_running():
|
||||
machine.succeed("pgrep drawterm")
|
||||
|
||||
Reference in New Issue
Block a user