mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-08 10:01:05 +01:00
Verify eval when setting git package to null. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
18 lines
368 B
Nix
18 lines
368 B
Nix
{
|
|
programs.diff-highlight = {
|
|
enable = true;
|
|
enableGitIntegration = true;
|
|
};
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
package = null;
|
|
};
|
|
|
|
test.asserts.assertions.expected = [
|
|
''
|
|
programs.diff-highlight.enableGitIntegration requires programs.git.package to be set.
|
|
Please set programs.git.package to a valid git package.
|
|
''
|
|
];
|
|
}
|