summaryrefslogtreecommitdiffstats
path: root/nixos/tests/kbd-update-search-paths-patch.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/kbd-update-search-paths-patch.nix')
-rw-r--r--nixos/tests/kbd-update-search-paths-patch.nix1
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: