tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
nixosTests.fontconfig-default-fonts: port to python
worldofpeace
6 years ago
5efe49ce
917ab4b1
+10
-5
1 changed file
expand all
collapse all
unified
split
nixos
tests
fontconfig-default-fonts.nix
+10
-5
nixos/tests/fontconfig-default-fonts.nix
···
1
1
-
import ./make-test.nix ({ lib, ... }:
1
1
+
import ./make-test-python.nix ({ lib, ... }:
2
2
{
3
3
name = "fontconfig-default-fonts";
4
4
+
5
5
+
meta.maintainers = with lib.maintainers; [
6
6
+
jtojnar
7
7
+
worldofpeace
8
8
+
];
4
9
5
10
machine = { config, pkgs, ... }: {
6
11
fonts.enableDefaultFonts = true; # Background fonts
···
20
25
};
21
26
22
27
testScript = ''
23
23
-
$machine->succeed("fc-match serif | grep '\"Gentium Plus\"'");
24
24
-
$machine->succeed("fc-match sans-serif | grep '\"Cantarell\"'");
25
25
-
$machine->succeed("fc-match monospace | grep '\"Source Code Pro\"'");
26
26
-
$machine->succeed("fc-match emoji | grep '\"Twitter Color Emoji\"'");
28
28
+
machine.succeed("fc-match serif | grep '\"Gentium Plus\"'")
29
29
+
machine.succeed("fc-match sans-serif | grep '\"Cantarell\"'")
30
30
+
machine.succeed("fc-match monospace | grep '\"Source Code Pro\"'")
31
31
+
machine.succeed("fc-match emoji | grep '\"Twitter Color Emoji\"'")
27
32
'';
28
33
})