From 07f85e36e961611f4f6de2ea7cecb3ec2e56503a Mon Sep 17 00:00:00 2001 From: Antoine Eiche Date: Sat, 21 Aug 2021 18:56:03 +0200 Subject: nixos/tests/kbd-update-search-paths: explicitly import re --- nixos/tests/kbd-update-search-paths-patch.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/tests/kbd-update-search-paths-patch.nix b/nixos/tests/kbd-update-search-paths-patch.nix index 2967ee48903..2cdb12340b1 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: -- cgit 1.4.1