mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
nixos/locate: exclude by default version control systems and .cache
follows Debian and Ubuntu
This commit is contained in:
parent
087657bbf0
commit
4c138f6bd6
|
@ -157,7 +157,7 @@ in {
|
||||||
|
|
||||||
pruneNames = mkOption {
|
pruneNames = mkOption {
|
||||||
type = listOf str;
|
type = listOf str;
|
||||||
default = [];
|
default = [ ".bzr" ".cache" ".git" ".hg" ".svn" ];
|
||||||
description = ''
|
description = ''
|
||||||
Directory components which should exclude paths containing them from indexing
|
Directory components which should exclude paths containing them from indexing
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue