mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-10 01:33:11 +01:00
nixos/fontconfig: add test for allowBitmaps
This commit is contained in:
parent
27655f0a88
commit
62cf69dfac
|
|
@ -566,6 +566,7 @@ in
|
||||||
fluent-bit = runTest ./fluent-bit.nix;
|
fluent-bit = runTest ./fluent-bit.nix;
|
||||||
fluentd = runTest ./fluentd.nix;
|
fluentd = runTest ./fluentd.nix;
|
||||||
fluidd = runTest ./fluidd.nix;
|
fluidd = runTest ./fluidd.nix;
|
||||||
|
fontconfig-bitmap-fonts = runTest ./fontconfig-bitmap-fonts.nix;
|
||||||
fontconfig-default-fonts = runTest ./fontconfig-default-fonts.nix;
|
fontconfig-default-fonts = runTest ./fontconfig-default-fonts.nix;
|
||||||
forgejo = import ./forgejo.nix {
|
forgejo = import ./forgejo.nix {
|
||||||
inherit runTest;
|
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…
Reference in a new issue