summary refs log tree commit diff
path: root/nixos/doc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-30 16:19:07 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-30 18:47:43 +0100
commitbe5d3a59dd3684ffabf456728938ed0f6f3df59c (patch)
tree89c508fe9c473c39290ead110b70e89a1d88d61d /nixos/doc
parent0f8b1b1a5c52a8171d9028e1df74949aea264c72 (diff)
downloadnixpkgs-be5d3a59dd3684ffabf456728938ed0f6f3df59c.tar
nixpkgs-be5d3a59dd3684ffabf456728938ed0f6f3df59c.tar.gz
nixpkgs-be5d3a59dd3684ffabf456728938ed0f6f3df59c.tar.bz2
nixpkgs-be5d3a59dd3684ffabf456728938ed0f6f3df59c.tar.lz
nixpkgs-be5d3a59dd3684ffabf456728938ed0f6f3df59c.tar.xz
nixpkgs-be5d3a59dd3684ffabf456728938ed0f6f3df59c.tar.zst
nixpkgs-be5d3a59dd3684ffabf456728938ed0f6f3df59c.zip
Clean up some option examples
Diffstat (limited to 'nixos/doc')
-rw-r--r--nixos/doc/manual/options-to-docbook.xsl9
1 files changed, 1 insertions, 8 deletions
diff --git a/nixos/doc/manual/options-to-docbook.xsl b/nixos/doc/manual/options-to-docbook.xsl
index f4bdc6288b1..6d11ad7a6c4 100644
--- a/nixos/doc/manual/options-to-docbook.xsl
+++ b/nixos/doc/manual/options-to-docbook.xsl
@@ -157,14 +157,7 @@
 
 
   <xsl:template match="derivation">
-    <xsl:choose>
-      <xsl:when test="attr[@name = 'url']/string/@value">
-        <replaceable>(download of <xsl:value-of select="attr[@name = 'url']/string/@value" />)</replaceable>
-      </xsl:when>
-      <xsl:otherwise>
-        <replaceable>(build of <xsl:value-of select="attr[@name = 'name']/string/@value" />)</replaceable>
-      </xsl:otherwise>
-    </xsl:choose>
+    <replaceable>(build of <xsl:value-of select="attr[@name = 'name']/string/@value" />)</replaceable>
   </xsl:template>
 
   <xsl:template match="attr[@name = 'declarations' or @name = 'definitions']">