1 import ./make-test-python.nix ({ pkgs, ... }: {
2 name = "kbd-update-search-paths-patch";
4 nodes.machine = { pkgs, options, ... }: {
6 packages = options.console.packages.default ++ [ pkgs.terminus_font ];
11 command = "${pkgs.kbd}/bin/setfont ter-112n 2>&1"
12 (status, out) = machine.execute(command)
14 pattern = re.compile(r".*Unable to find file:.*")
15 match = pattern.match(out)
17 raise Exception("command `{}` failed".format(command))