home-manager/tests/modules/programs/darcs/author.nix
2023-07-08 10:31:45 +02:00

17 lines
309 B
Nix

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