diff options
author | Alexandre Esteves <alexandre.fmp.esteves@gmail.com> | 2019-09-17T22·40+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-10-09T14·24+0200 |
commit | 62d1c60fb36b57432bfb7cd7c9086d8c4450484c (patch) | |
tree | ccfc7e65b56b63dd274435c8702dbaa931bb6cf2 /doc/manual/expressions | |
parent | f4106e76ffd0d99e2875bfac9aacc597ee3e77a5 (diff) |
Move 'builtins.splitVersion' to position respecting alphabetical order
(cherry picked from commit 9533d85ce009c65722a2addc55b64ee51f15dea3)
Diffstat (limited to 'doc/manual/expressions')
-rw-r--r-- | doc/manual/expressions/builtins.xml | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/doc/manual/expressions/builtins.xml b/doc/manual/expressions/builtins.xml index b1ad544c04b6..6b12636cf0bf 100644 --- a/doc/manual/expressions/builtins.xml +++ b/doc/manual/expressions/builtins.xml @@ -170,18 +170,6 @@ if builtins ? getEnv then builtins.getEnv "PATH" else ""</programlisting> </varlistentry> - <varlistentry xml:id='builtin-splitVersion'> - <term><function>builtins.splitVersion</function> - <replaceable>s</replaceable></term> - - <listitem><para>Split a string representing a version into its - components, by the same version splitting logic underlying the - version comparison in <link linkend="ssec-version-comparisons"> - <command>nix-env -u</command></link>.</para></listitem> - - </varlistentry> - - <varlistentry xml:id='builtin-concatLists'> <term><function>builtins.concatLists</function> <replaceable>lists</replaceable></term> @@ -1275,6 +1263,19 @@ Evaluates to <literal>[ " " [ "FOO" ] " " ]</literal>. </para></listitem> </varlistentry> + + <varlistentry xml:id='builtin-splitVersion'> + <term><function>builtins.splitVersion</function> + <replaceable>s</replaceable></term> + + <listitem><para>Split a string representing a version into its + components, by the same version splitting logic underlying the + version comparison in <link linkend="ssec-version-comparisons"> + <command>nix-env -u</command></link>.</para></listitem> + + </varlistentry> + + <varlistentry xml:id='builtin-stringLength'> <term><function>builtins.stringLength</function> <replaceable>e</replaceable></term> |