nixos/locate: exclude by default version control systems and .cache

follows Debian and Ubuntu
This commit is contained in:
Sandro 2021-11-17 04:19:53 +01:00 committed by GitHub
parent 087657bbf0
commit 4c138f6bd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -157,7 +157,7 @@ in {
pruneNames = mkOption {
type = listOf str;
default = [];
default = [ ".bzr" ".cache" ".git" ".hg" ".svn" ];
description = ''
Directory components which should exclude paths containing them from indexing
'';