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

18 lines
309 B
Nix
Raw Normal View History

{ 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}
'';
};
}