mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
fix documentation issue: ${map} in a quoted-quote is not escaped as expected.
svn path=/nixos/branches/modular-nixos/; revision=15676
This commit is contained in:
parent
be85fd2500
commit
72e4b7e18d
|
@ -18,7 +18,7 @@ let
|
|||
autoMaster = mkOption {
|
||||
example = ''
|
||||
autoMaster = let
|
||||
map = pkgs.writeText "auto" '''
|
||||
mapConf = pkgs.writeText "auto" '''
|
||||
kernel -ro,soft,intr ftp.kernel.org:/pub/linux
|
||||
boot -fstype=ext2 :/dev/hda1
|
||||
windoze -fstype=smbfs ://windoze/c
|
||||
|
@ -30,7 +30,7 @@ let
|
|||
/home myserver.me.org:/home
|
||||
''';
|
||||
in '''
|
||||
/auto file:${map}
|
||||
/auto file:''${mapConf}
|
||||
'''
|
||||
'';
|
||||
description = "
|
||||
|
|
Loading…
Reference in a new issue