Spelling etc

+8 -8
+3 -3
nixos/doc/manual/release-notes/rl-unstable.xml
··· 181 181 182 182 <listitem> 183 183 <para> 184 - The <literal>locate</literal> service no longer indexes the nix store 184 + The <literal>locate</literal> service no longer indexes the Nix store 185 185 by default, preventing packages with potentially numerous versions from 186 - cluttering the output. Indexing the store can be activated with 187 - <literal>services.locate.includeStore = true;</literal>. 186 + cluttering the output. Indexing the store can be activated by setting 187 + <literal>services.locate.includeStore = true</literal>. 188 188 </para> 189 189 </listitem> 190 190
+5 -5
nixos/modules/misc/locate.nix
··· 35 35 type = types.listOf types.str; 36 36 default = [ ]; 37 37 description = '' 38 - Extra flags to append to <command>updatedb</command>. 38 + Extra flags to pass to <command>updatedb</command>. 39 39 ''; 40 40 }; 41 41 ··· 60 60 type = types.bool; 61 61 default = false; 62 62 description = '' 63 - Whether to include /nix/store in the locate database. 63 + Whether to include <filename>/nix/store<filename> in the locate database. 64 64 ''; 65 65 }; 66 66 ··· 78 78 '' 79 79 mkdir -m 0755 -p $(dirname ${toString cfg.output}) 80 80 exec updatedb \ 81 - --localuser=${cfg.localuser} \ 82 - ${optionalString (!cfg.includeStore) "--prunepaths='/nix/store'"} \ 83 - --output=${toString cfg.output} ${concatStringsSep " " cfg.extraFlags} 81 + --localuser=${cfg.localuser} \ 82 + ${optionalString (!cfg.includeStore) "--prunepaths='/nix/store'"} \ 83 + --output=${toString cfg.output} ${concatStringsSep " " cfg.extraFlags} 84 84 ''; 85 85 serviceConfig.Nice = 19; 86 86 serviceConfig.IOSchedulingClass = "idle";