forked from mirrors/nixpkgs
nixos/locate: clarification in warning message (#173247)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
b02d0a9864
commit
7502133997
|
@ -250,7 +250,7 @@ in
|
|||
};
|
||||
|
||||
warnings = optional (isMorPLocate && cfg.localuser != null)
|
||||
"mlocate does not support the services.locate.localuser option; updatedb will run as root. (Silence with services.locate.localuser = null.)"
|
||||
"mlocate and plocate do not support the services.locate.localuser option. updatedb will run as root. Silence this warning by setting services.locate.localuser = null."
|
||||
++ optional (isFindutils && cfg.pruneNames != [ ])
|
||||
"findutils locate does not support pruning by directory component"
|
||||
++ optional (isFindutils && cfg.pruneBindMounts)
|
||||
|
|
Loading…
Reference in a new issue