diff options
author | Antoine Eiche <lewo@abesis.fr> | 2021-08-21 18:56:03 +0200 |
---|---|---|
committer | Antoine Eiche <lewo@abesis.fr> | 2021-08-21 18:56:03 +0200 |
commit | 07f85e36e961611f4f6de2ea7cecb3ec2e56503a (patch) | |
tree | ee6bb887c2322d78a775229949501b6f524bcf6a | |
parent | f6b27bd905fa0b642b8c6b39bd2f4f168c9d2727 (diff) |
nixos/tests/kbd-update-search-paths: explicitly import re
-rw-r--r-- | nixos/tests/kbd-update-search-paths-patch.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/kbd-update-search-paths-patch.nix b/nixos/tests/kbd-update-search-paths-patch.nix index 2967ee489037..2cdb12340b1b 100644 --- a/nixos/tests/kbd-update-search-paths-patch.nix +++ b/nixos/tests/kbd-update-search-paths-patch.nix @@ -10,6 +10,7 @@ import ./make-test-python.nix ({ pkgs, ... }: { testScript = '' command = "${pkgs.kbd}/bin/setfont ter-112n 2>&1" (status, out) = machine.execute(command) + import re pattern = re.compile(r".*Unable to find file:.*") match = pattern.match(out) if match: |