summary refs log tree commit diff
diff options
context:
space:
mode:
authorAntoine Eiche <lewo@abesis.fr>2021-08-21 18:56:03 +0200
committerAntoine Eiche <lewo@abesis.fr>2021-08-21 18:56:03 +0200
commit07f85e36e961611f4f6de2ea7cecb3ec2e56503a (patch)
treeee6bb887c2322d78a775229949501b6f524bcf6a
parentf6b27bd905fa0b642b8c6b39bd2f4f168c9d2727 (diff)
downloadnixpkgs-07f85e36e961611f4f6de2ea7cecb3ec2e56503a.tar
nixpkgs-07f85e36e961611f4f6de2ea7cecb3ec2e56503a.tar.gz
nixpkgs-07f85e36e961611f4f6de2ea7cecb3ec2e56503a.tar.bz2
nixpkgs-07f85e36e961611f4f6de2ea7cecb3ec2e56503a.tar.lz
nixpkgs-07f85e36e961611f4f6de2ea7cecb3ec2e56503a.tar.xz
nixpkgs-07f85e36e961611f4f6de2ea7cecb3ec2e56503a.tar.zst
nixpkgs-07f85e36e961611f4f6de2ea7cecb3ec2e56503a.zip
nixos/tests/kbd-update-search-paths: explicitly import re
-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 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: