75fa0ae5af
GitOrigin-RevId: c3ab5ea047e6dc73df530948f7367455749d8906
24 lines
601 B
Nix
24 lines
601 B
Nix
{ pkgs, config, ... }: {
|
|
config = {
|
|
programs.ripgrep = {
|
|
enable = true;
|
|
package = config.lib.test.mkStubPackage { name = "ripgrep"; };
|
|
arguments = [
|
|
"--max-columns-preview"
|
|
"--colors=line:style:bold"
|
|
"--no-require-git"
|
|
];
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/ripgrep/ripgreprc
|
|
assertFileContent home-files/.config/ripgrep/ripgreprc ${
|
|
pkgs.writeText "ripgrep.expected" ''
|
|
--max-columns-preview
|
|
--colors=line:style:bold
|
|
--no-require-git
|
|
''
|
|
}
|
|
'';
|
|
};
|
|
}
|