···127 { LOCATE_PATH = cfg.output;
128 };
129130- warnings = optional (isMLocate && cfg.localuser != null) "mlocate does not support searching as user other than root"
131 ++ optional (isFindutils && cfg.pruneNames != []) "findutils locate does not support pruning by directory component"
132 ++ optional (isFindutils && cfg.pruneBindMounts) "findutils locate does not support skipping bind mounts";
133
···127 { LOCATE_PATH = cfg.output;
128 };
129130+ warnings = optional (isMLocate && cfg.localuser != null) "mlocate does not support the services.locate.localuser option; updatedb will run as root. (Silence with services.locate.localuser = null.)"
131 ++ optional (isFindutils && cfg.pruneNames != []) "findutils locate does not support pruning by directory component"
132 ++ optional (isFindutils && cfg.pruneBindMounts) "findutils locate does not support skipping bind mounts";
133