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

18 lines
309 B
Nix
Raw Permalink Normal View History

2023-03-27 20:25:17 +02: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}
'';
};
}