+1
-1
nixos/modules/misc/locate.nix
+1
-1
nixos/modules/misc/locate.nix
···
133
133
''
134
134
mkdir -m 0755 -p ${dirOf cfg.output}
135
135
exec ${cfg.locate}/bin/updatedb \
136
-
${optionalString (cfg.localuser != null) ''--localuser=${cfg.localuser}''} \
136
+
${optionalString (cfg.localuser != null && ! isMLocate) ''--localuser=${cfg.localuser}''} \
137
137
--output=${toString cfg.output} ${concatStringsSep " " cfg.extraFlags}
138
138
'';
139
139
environment = {