about summary refs log tree commit diff
path: root/doc/manual/expressions
AgeCommit message (Collapse)AuthorFilesLines
2018-03-23 Document fetchGit.Shea Levy1-0/+55
Fixes #1981.
2018-02-14 Add splitVersion primop.Shea Levy1-0/+11
Fixes #1868.
2018-02-07 Merge pull request #1816 from shlevy/add-pathEelco Dolstra1-2/+72
Add path primop.
2018-02-06 Add path primop.Shea Levy1-2/+72
builtins.path allows specifying the name of a path (which makes paths with store-illegal names now addable), allows adding paths with flat instead of recursive hashes, allows specifying a filter (so is a generalization of filterSource), and allows specifying an expected hash (enabling safe path adding in pure mode).
2018-01-31 Manual: Remove old cruftEelco Dolstra2-36/+0
2018-01-27 Improve manual on inheriting attributesEric Wolf1-2/+30
Expands first paragraph a bit Adds a more comprehensive example
2017-12-11 Add builtins.concatStringSep to the manualChris Martin1-0/+8
2017-11-01 Mention isFloat function in "Built-in Functions" sectionZoran Plesivčak1-0/+10
2017-11-01 Mention "float" type in builtins.typeOf section of the docsZoran Plesivčak1-8/+9
+ remove trailing whitespace from the file
2017-10-26 Clarify indented string escaping rulesOrivej Desh1-5/+9
2017-10-26 Describe "with" scoping precedenceOrivej Desh1-1/+14
2017-10-26 Describe arithmetic operatorsOrivej Desh1-9/+31
2017-08-18 update MD5 to SHA-256 in expression-syntaxChase Adams1-2/+2
2017-08-16 Merge branch 'tokenize' of https://github.com/nbp/nixEelco Dolstra1-0/+37
2017-08-15 Add builtins.string function.Nicolas B. Pierron1-0/+37
The function 'builtins.split' takes a POSIX extended regular expression and an arbitrary string. It returns a list of non-matching substring interleaved by lists of matched groups of the regular expression. ```nix with builtins; assert split "(a)b" "abc" == [ "" [ "a" ] "c" ]; assert split "([ac])" "abc" == [ "" [ "a" ] "b" [ "c" ] "" ]; assert split "(a)|(c)" "abc" == [ "" [ "a" null ] "b" [ null "c" ] "" ]; assert split "([[:upper:]]+)" " FOO " == [ " " [ "FOO" ] " " ]; ```
2017-08-15 Move builtins.match documentation between map and mul.Nicolas B. Pierron1-36/+36
2017-07-15 use sha256 hashes in the examplesHarmen3-5/+5
And fix a dead link.
2017-05-29 Merge pull request #1393 from pyrtsa/patch-1Eelco Dolstra1-1/+1
Fix variable name typo in derivations doc
2017-05-28 Remove stray `>` in builtins docPyry Jahkola1-1/+1
2017-05-28 Fix variable name typo in derivations docPyry Jahkola1-1/+1
2017-05-24 Merge pull request #1382 from FRidh/patch-1Eelco Dolstra1-0/+18
Document fetchTarball can take a sha256
2017-05-17 Document that builtins.match takes a POSIX extended REEelco Dolstra1-4/+10
2017-05-11 Document fetchTarball can take a sha256Frederik Rietdijk1-0/+18
Note that I refer to `nix-prefetch-url`.
2017-05-10 TypoEelco Dolstra1-1/+1
2017-05-10 doc: builtins.attrNames returns alphabetically sorted listDomen Kožar1-1/+1
2017-04-17 Manual: document tryEvalLinus Heckemann1-0/+13
2017-02-21 Fix XML validityEelco Dolstra1-9/+8
2017-02-20 Document toString betterLinus Heckemann1-4/+12
2016-12-11 Document path-search behaviourLinus Heckemann1-1/+10
2016-12-09 Document builtins.match, fixes #1145Domen Kožar1-0/+29
2016-09-21 Document the { __toString } interfacezimbatm1-2/+2
2016-08-26 doc: move set functor para to Sets sectionDomen Kožar2-18/+17
2016-08-11 doc: add an example for builtins.substringDomen Kožar1-1/+8
2016-08-10 s/powerpc-darwin/x86_64-darwin/Domen Kožar2-2/+2
Let's step in line with time and document more realistic values.
2016-05-30 Merge pull request #576 from qknight/args_explanationDomen Kožar1-5/+11
extended args@ explanation
2016-05-30 Update language-constructs.xmlJoachim Schiele1-1/+1
2016-05-30 Update language-constructs.xmlJoachim Schiele1-2/+2
2016-04-26 fix "nix-build" examplesScott R. Parish1-10/+8
The existing "nix-build" examples were failing: error: cannot auto-call a function that has an argument without a default value (‘system’) Thanks to @groxxda on irc for pointing out the fix! Updated to completely remove unneeded path argument, suggested by @joachifm Updated to remove other occurences of `all-packages.nix` from files as suggested by @domenkozar
2016-02-12 Merge pull request #762 from ctheune/ctheune-floatsEelco Dolstra3-11/+16
Implement floats
2016-01-06 Update documentation for floats.Christian Theune3-12/+17
2016-01-05 manual: document builtins.functionArgsVladimír Čunát1-1/+19
The text is just a conversion of comment from src/libexpr/primops.cc
2015-09-01 Fix readDir exampleEelco Dolstra1-1/+1
Fixes https://github.com/NixOS/nixos-homepage/issues/46.
2015-07-28 Add sort primopEelco Dolstra1-0/+23
2015-07-28 Add primop genListEelco Dolstra1-0/+18
This can be used to implement functions like ‘imap’ (or for that matter, ‘map’) without the quadratic complexity incurred by calling ‘++’ repeatedly.
2015-07-24 Add replaceStrings primopEelco Dolstra1-0/+17
This is a generalisation of replaceChars in Nixpkgs.
2015-07-23 Add primops all and anyEelco Dolstra1-0/+22
These are used thousands of times during NixOS evaluation, so it's useful to speed them up.
2015-07-23 Add foldl' primopEelco Dolstra1-0/+13
2015-07-07 extended args@ explanationJoachim Schiele1-4/+10
2015-06-01 Document tarball downloadingEelco Dolstra1-0/+39
2015-02-19 Allow the leading component of a path to be a ~Shea Levy1-1/+8