locate: does not use localuser for mlocate
This commit is contained in:
parent
c06a10e05f
commit
6ef6484dd6
@ -133,7 +133,7 @@ in {
|
||||
''
|
||||
mkdir -m 0755 -p ${dirOf cfg.output}
|
||||
exec ${cfg.locate}/bin/updatedb \
|
||||
${optionalString (cfg.localuser != null) ''--localuser=${cfg.localuser}''} \
|
||||
${optionalString (cfg.localuser != null && ! isMLocate) ''--localuser=${cfg.localuser}''} \
|
||||
--output=${toString cfg.output} ${concatStringsSep " " cfg.extraFlags}
|
||||
'';
|
||||
environment = {
|
||||
|
Loading…
Reference in New Issue
Block a user