about summary refs log tree commit diff
path: root/tests/lang/lib.nix
AgeCommit message (Collapse)AuthorFilesLines
2008-07-11 * Generalised the dependencyClosure primop to builtins.genericClosure,Eelco Dolstra1-0/+24
which is hopefully more useful. * New primops: length, mul, div.
2008-07-01 * Export the nix-env derivation name parsing and version comparisonEelco Dolstra1-0/+2
logic through the `parseDrvName' and `compareVersions' primops. This will allow expressions to easily check whether some dependency is a specific needed version or falls in some version range. See tests/lang/eval-okay-versions.nix for examples.
2007-01-29 New primitives:Eelco Dolstra1-3/+11
* `sub' to subtract two numbers. * `stringLength' to get the length of a string. * `substring' to get a substring of a string. These should be enough to allow most string operations to be expressed.
2006-09-22 * Builtin function `add' to add integers.Eelco Dolstra1-0/+18
* Put common test functions in tests/lang/lib.nix.