about summary refs log tree commit diff
path: root/doc/manual/expressions
AgeCommit message (Collapse)AuthorFilesLines
2019-10-09 docs: Note that tryEval doesn't do deep evaluationSilvan Mosberger1-2/+8
(cherry picked from commit e4ea3e03066a760c8cd462108af99aebaaa44c1b)
2019-10-09 docs: Fix a typo in github in an exampleJulien Tanguy1-1/+1
(cherry picked from commit 92ede15dd902f7c1d2771c194b8bb73fe406840f)
2019-10-09 docs: Use the explicit ref for fetchGit with a tagJulien Tanguy1-4/+1
With the merge of #2582, the syntax "tags/1.9" for refs does not work anymore. However, the new syntax "refs/tags/1.9" seems to support annotated tags, such as "refs/tags/2.0". Closes #2385. (cherry picked from commit ae244af242ca3621e5a3b9196f27d9fcbf297266)
2019-10-09 Move 'builtins.splitVersion' to position respecting alphabetical orderAlexandre Esteves1-12/+13
(cherry picked from commit 9533d85ce009c65722a2addc55b64ee51f15dea3)
2019-10-09 Fix typos in the Nix Manual.Danny Bautista2-3/+3
(cherry picked from commit 00a567588e43b51944a9b91c1e890bda27773aed)
2019-08-27 docs: operators: Make OR and AND capitalizedGraham Christensen1-2/+2
2019-08-23 operators: document exact precedenc, split up similar operatorsGraham Christensen1-8/+95
2019-07-06 Merge pull request #2882 from grahamc/docs/1115-tarball-ttlEelco Dolstra1-2/+2
tarball-ttl: document
2019-07-05 tarball-ttl: documentGraham Christensen1-2/+2
Incorporates text from Niklas Hambüchen in #2978 Closes #1115
2019-07-02 Merge pull request #2582 from LnL7/fetchgit-refsEelco Dolstra1-0/+15
fetchGit: allow fetching explicit refs
2019-07-02 builtins.fetchGit: document absolute ref supportGraham Christensen1-0/+15
2019-06-04 Minor typoJorisE1-1/+1
2019-05-21 doc: clarify that optional attrs in a function argument will be ignored ↵Maximilian Bosch1-1/+19
unless specified In `args@{ a ? 1 }: /* ... */` the value `a` won't be a part of `args` unless it's specified when calling the function, the default value will be ignored in this case. My personal point of view is that this behavior is a matter of taste, at least I was pretty sure that unmatched arguments will be a part of `args@` while debugging some Nix code last week. I decided to add a warning to the docs which hopefully reduces the confusion of further Nix developers who thought the same about `args@`.
2019-05-03 Add builtins.hashFileDaniel Schaefer1-0/+13
For text files it is possible to do it like so: `builtins.hashString "sha256" (builtins.readFile /tmp/a)` but that doesn't work for binary files. With builtins.hashFile any kind of file can be conveniently hashed.
2019-03-24 Add isPath primopzimbatm1-0/+8
this is added for completeness' sake since all the other possible `builtins.typeOf` results have a corresponding `builtins.is<Type>`
2019-03-21 manual: include builtins.* for globally available builtinsLinus Heckemann1-0/+17
This improves searchability.
2019-03-01 manual nitpick: document sha512 support in hashStringVladimír Čunát1-2/+2
2018-11-13 manual: quote $servletsFelix C. Stegerman1-1/+1
2018-11-12 fix typo (s/gift/git/)Felix C. Stegerman1-2/+2
2018-11-09 Manual: build locally -> buildEelco Dolstra1-2/+1
2018-11-08 Fix manual buildLinus Heckemann1-1/+1
This was broken by some missing closing tags in 0bea4a50e03
2018-11-08 Merge pull request #2524 from domenkozar/deprecate-toPathEelco Dolstra1-23/+6
Deprecate builtins.toPath
2018-11-08 Deprecate builtins.toPathDomen Kožar1-23/+6
2018-11-07 Document allowSubstitutesEelco Dolstra1-0/+14
2018-11-07 Fix preferLocalBuild descriptionEelco Dolstra1-3/+1
preferLocalBuild does not in fact prevent substitution.
2018-10-04 Docs: update fixed output hashesBenjamin Hipple1-7/+7
`fetchurl` will now throw if given an `md5`, and the hashes have generally been upgraded to avoid it and use `sha256` as a default. This updates the documentation examples in the manual accordingly.
2018-10-02 manual: add XML IDs to all builtin list entriesProfpatsch1-147/+217
2018-09-01 Merge pull request #2309 from symphorien/disallowed-manEelco Dolstra1-0/+34
add manual entries for disallowedRequisites and disallowedReferences
2018-09-01 Merge pull request #2384 from graham-at-target/fetch-git-examplesEelco Dolstra1-2/+80
docs: Add some examples to fetchGit
2018-08-31 Drop ssh://... as a required formatting for builtins.fetchGitGraham Christensen1-8/+1
2018-08-31 docs: Add IDs to important sectionsGraham Christensen1-1/+1
2018-08-31 docs: Add some examples to fetchGitGraham Christensen1-2/+87
2018-07-26 add manual entries for disallowedRequisites and disallowedReferencesSymphorien Gibol1-0/+34
2018-06-10 manual: builtins.fromJSON: remove the claim that floats are not allowedMichael Raskin1-2/+1
floating-point numbers are supported now, including the fromJSON builtin. Reported on IRC by inquisitiv3
2018-05-30 Explicitly describe the effects of filterSource excluding a directory.Shea Levy1-1/+3
2018-05-30 Merge pull request #2164 from mickours/doc-fetchTarball-timoutGraham Christensen1-1/+10
Explain fetchTarball timeout behavior in the doc
2018-05-30 Explain fetchTarball timeout behavior in the docMichael Mercier1-1/+10
2018-05-24 add docs and testsvolth1-0/+30
2018-05-02 docs: mention source of env variables used by `impureEnvVars`.Gleb Peregud1-1/+7
2018-04-03 document that writeTextFile from Nixpkgs is an alternative to builtins.toFileJustin Humm1-1/+4
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