about summary refs log tree commit diff
path: root/doc/configuration.xml
diff options
context:
space:
mode:
authorWael Nasreddine <wael.nasreddine@gmail.com>2019-03-08 21:07:11 -0800
committerGitHub <noreply@github.com>2019-03-08 21:07:11 -0800
commita7f4fd00149d30651d1b16f708a95e5b76950d63 (patch)
tree188709a40edd03fac4b2770e4f128d049696549c /doc/configuration.xml
parentb7ebfec61f2f93e922ecdff60ac80a08e911b443 (diff)
downloadnixlib-a7f4fd00149d30651d1b16f708a95e5b76950d63.tar
nixlib-a7f4fd00149d30651d1b16f708a95e5b76950d63.tar.gz
nixlib-a7f4fd00149d30651d1b16f708a95e5b76950d63.tar.bz2
nixlib-a7f4fd00149d30651d1b16f708a95e5b76950d63.tar.lz
nixlib-a7f4fd00149d30651d1b16f708a95e5b76950d63.tar.xz
nixlib-a7f4fd00149d30651d1b16f708a95e5b76950d63.tar.zst
nixlib-a7f4fd00149d30651d1b16f708a95e5b76950d63.zip
doc: format the documentation (#57102)
Diffstat (limited to 'doc/configuration.xml')
-rw-r--r--doc/configuration.xml19
1 files changed, 9 insertions, 10 deletions
diff --git a/doc/configuration.xml b/doc/configuration.xml
index 8a5ff8dcb8e0..b497fa4e2722 100644
--- a/doc/configuration.xml
+++ b/doc/configuration.xml
@@ -132,13 +132,13 @@
   </itemizedlist>
 
   <para>
-   The difference between a package being unsupported on some system and
-   being broken is admittedly a bit fuzzy. If a program
-   <emphasis>ought</emphasis> to work on a certain platform, but doesn't, the
-   platform should be included in <literal>meta.platforms</literal>, but marked
-   as broken with e.g. <literal>meta.broken =
-   !hostPlatform.isWindows</literal>. Of course, this begs the question of what
-   "ought" means exactly. That is left to the package maintainer.
+   The difference between a package being unsupported on some system and being
+   broken is admittedly a bit fuzzy. If a program <emphasis>ought</emphasis> to
+   work on a certain platform, but doesn't, the platform should be included in
+   <literal>meta.platforms</literal>, but marked as broken with e.g.
+   <literal>meta.broken = !hostPlatform.isWindows</literal>. Of course, this
+   begs the question of what "ought" means exactly. That is left to the package
+   maintainer.
   </para>
  </section>
  <section xml:id="sec-allow-unfree">
@@ -175,9 +175,8 @@
 </programlisting>
     </para>
     <para>
-     For a more useful example, try the following. This configuration
-     only allows unfree packages named flash player and visual studio
-     code:
+     For a more useful example, try the following. This configuration only
+     allows unfree packages named flash player and visual studio code:
 <programlisting>
 {
   allowUnfreePredicate = (pkg: builtins.elem