home-manager/tests/modules/programs/darcs/author.nix

18 lines
309 B
Nix
Raw Normal View History

2023-03-27 18:25:17 +00:00
{ pkgs, ... }:
{
config = {
programs.darcs = {
enable = true;
author = [
"Real Person <personal@example.com>"
"Real Person <corporate@example.com>"
];
};
nmt.script = ''
assertFileContent home-files/.darcs/author ${./author-expected.txt}
'';
};
}