1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 13:39:46 +01:00
home-manager/tests/modules/programs/pandoc/templates.nix

19 lines
376 B
Nix
Raw Permalink Normal View History

{ config, ... }:
{
programs.pandoc = {
enable = true;
templates = { "default.latex" = ./template.latex; };
};
test.stubs.pandoc = import ./stub.nix;
nmt.script = ''
assertFileExists home-files/.local/share/pandoc/templates/default.latex
assertFileContent home-files/.local/share/pandoc/templates/default.latex \
${./template.latex}
'';
}