1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-05 10:49:44 +01:00
home-manager/tests/modules/programs/pandoc/csl.nix

19 lines
340 B
Nix
Raw Normal View History

{ config, ... }:
{
programs.pandoc = {
enable = true;
citationStyles = [ ./example.csl ];
};
test.stubs.pandoc = import ./stub.nix;
nmt.script = ''
assertFileExists home-files/.local/share/pandoc/csl/example.csl
assertFileContent home-files/.local/share/pandoc/csl/example.csl \
${./example.csl}
'';
}