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
-
import ./make-test.nix ({ lib, ... }:
2
{
3
name = "fontconfig-default-fonts";
0
0
0
0
0
4
5
machine = { config, pkgs, ... }: {
6
fonts.enableDefaultFonts = true; # Background fonts
···
20
};
21
22
testScript = ''
23
-
$machine->succeed("fc-match serif | grep '\"Gentium Plus\"'");
24
-
$machine->succeed("fc-match sans-serif | grep '\"Cantarell\"'");
25
-
$machine->succeed("fc-match monospace | grep '\"Source Code Pro\"'");
26
-
$machine->succeed("fc-match emoji | grep '\"Twitter Color Emoji\"'");
27
'';
28
})
···
1
+
import ./make-test-python.nix ({ lib, ... }:
2
{
3
name = "fontconfig-default-fonts";
4
+
5
+
meta.maintainers = with lib.maintainers; [
6
+
jtojnar
7
+
worldofpeace
8
+
];
9
10
machine = { config, pkgs, ... }: {
11
fonts.enableDefaultFonts = true; # Background fonts
···
25
};
26
27
testScript = ''
28
+
machine.succeed("fc-match serif | grep '\"Gentium Plus\"'")
29
+
machine.succeed("fc-match sans-serif | grep '\"Cantarell\"'")
30
+
machine.succeed("fc-match monospace | grep '\"Source Code Pro\"'")
31
+
machine.succeed("fc-match emoji | grep '\"Twitter Color Emoji\"'")
32
'';
33
})