summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorlewo <lewo@abesis.fr>2021-08-22 16:04:35 +0200
committerGitHub <noreply@github.com>2021-08-22 16:04:35 +0200
commit79e5ee0c766cfe8d13af6c8f8b47d55a3a2f595f (patch)
treebf08cc49632b00d51a7332584bbcfb6c43b36171 /nixos
parentb25f2c01e8633fde8ee5cab3ff52ad6414bdc4e5 (diff)
parent07f85e36e961611f4f6de2ea7cecb3ec2e56503a (diff)
Merge pull request #135089 from nlewo/kdb-update
nixos/tests/kbd-update-search-paths: explicitly import re
Diffstat (limited to 'nixos')
-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: