mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/fontconfig: add test for allowBitmaps
This commit is contained in:
parent
27655f0a88
commit
62cf69dfac
2 changed files with 18 additions and 0 deletions
|
|
@ -566,6 +566,7 @@ in
|
|||
fluent-bit = runTest ./fluent-bit.nix;
|
||||
fluentd = runTest ./fluentd.nix;
|
||||
fluidd = runTest ./fluidd.nix;
|
||||
fontconfig-bitmap-fonts = runTest ./fontconfig-bitmap-fonts.nix;
|
||||
fontconfig-default-fonts = runTest ./fontconfig-default-fonts.nix;
|
||||
forgejo = import ./forgejo.nix {
|
||||
inherit runTest;
|
||||
|
|
|
|||
17
nixos/tests/fontconfig-bitmap-fonts.nix
Normal file
17
nixos/tests/fontconfig-bitmap-fonts.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
name = "fontconfig-bitmap-fonts";
|
||||
|
||||
nodes.machine =
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
fonts.packages = [
|
||||
pkgs.terminus_font
|
||||
];
|
||||
fonts.fontconfig.allowBitmaps = true;
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
machine.succeed("fc-list | grep Terminus")
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue