From b095c06139fa267e6050e4c95208c627cc6251b8 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Tue, 13 Feb 2018 18:28:27 -0500 Subject: Add splitVersion primop. Fixes #1868. --- doc/manual/expressions/builtins.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc/manual/expressions/builtins.xml') diff --git a/doc/manual/expressions/builtins.xml b/doc/manual/expressions/builtins.xml index 81770bcf6292..8a32ed8b5c99 100644 --- a/doc/manual/expressions/builtins.xml +++ b/doc/manual/expressions/builtins.xml @@ -126,6 +126,17 @@ if builtins ? getEnv then builtins.getEnv "PATH" else "" + builtins.splitVersion + s + + Split a string representing a version into its + components, by the same version splitting logic underlying the + version comparison in + nix-env -u. + + + + builtins.concatLists lists -- cgit 1.4.1