mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 13:13:26 +00:00
19 lines
340 B
Nix
19 lines
340 B
Nix
|
{ 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}
|
||
|
'';
|
||
|
}
|
||
|
|