mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/manual: Use literalExample when feasible.
Should bring most of the examples into a better consistency regarding syntactic representation in the manual. Thanks to @devhell for reporting. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
9667a4067c
commit
8a56a55bb4
18 changed files with 39 additions and 27 deletions
|
@ -423,7 +423,7 @@ in
|
|||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.apacheHttpd.override { mpm = mainCfg.multiProcessingModule; };
|
||||
example = "pkgs.apacheHttpd_2_4";
|
||||
example = literalExample "pkgs.apacheHttpd_2_4";
|
||||
description = ''
|
||||
Overridable attribute of the Apache HTTP Server package to use.
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue