aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/expressions
AgeCommit message (Collapse)Author
2020-05-23Manpages: Do not refer to nixpkgs-channelsJoachim Breitner
Unless I am misinformed, using the `nixpkgs` repository directly is now preferred?
2020-05-21documentation: avoid unquoted URLsKrzysztof Gogolewski
2020-05-16Remove -j option from simple-build-testingJörg Thalheim
By default Nix/NixOS already set a reasonable default `max-jobs = auto` so we don't need to mention it in this tutorial. The option is still documented in other parts of the documentation if users ever stumble over this. Fixes https://github.com/NixOS/nix/issues/2531
2020-04-07Merge branch 'fetchgit-recursive' of https://github.com/blitz/nixEelco Dolstra
2020-03-29Add documentation for submodule support in fetchGitJulian Stecklina
2019-12-03doc/manual: add ids to the advanced attribute definitionsProfpatsch
This makes it possible to reference single attribute definitions, for pointing people to their exact definition.
2019-12-03doc/manual: add note to `allowSubstitutes` advanced attributeProfpatsch
2019-11-25Document builtins.placeholderArnout Engelen
2019-10-21Tweak path hintErsin Akinci
2019-10-21Add hint about path in builtins.importErsin Akinci
2019-10-21Revert "Document import <path> syntax"Ersin Akinci
This reverts commit d8730fb86facadbef22d3df7f8a743a56e7ed53c.
2019-10-20Document import <path> syntaxErsin Akinci
2019-10-08Fix typos in the Nix Manual.Danny Bautista
2019-09-30Merge pull request #3080 from Infinisil/tryEval-docsDomen Kožar
docs: Note that tryEval doesn't do deep evaluation
2019-09-17Move 'builtins.splitVersion' to position respecting alphabetical orderAlexandre Esteves
2019-09-11docs: Use the explicit ref for fetchGit with a tagJulien Tanguy
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.
2019-09-11docs: Fix a typo in github in an exampleJulien Tanguy
2019-09-03docs: Note that tryEval doesn't do deep evaluationSilvan Mosberger
2019-08-27docs: operators: Make OR and AND capitalizedGraham Christensen
2019-08-23operators: document exact precedenc, split up similar operatorsGraham Christensen
2019-07-06Merge pull request #2882 from grahamc/docs/1115-tarball-ttlEelco Dolstra
tarball-ttl: document
2019-07-05tarball-ttl: documentGraham Christensen
Incorporates text from Niklas Hambüchen in #2978 Closes #1115
2019-07-02Merge pull request #2582 from LnL7/fetchgit-refsEelco Dolstra
fetchGit: allow fetching explicit refs
2019-07-02builtins.fetchGit: document absolute ref supportGraham Christensen
2019-06-04Minor typoJorisE
2019-05-21doc: clarify that optional attrs in a function argument will be ignored ↵Maximilian Bosch
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-03Add builtins.hashFileDaniel Schaefer
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-24Add isPath primopzimbatm
this is added for completeness' sake since all the other possible `builtins.typeOf` results have a corresponding `builtins.is<Type>`
2019-03-21manual: include builtins.* for globally available builtinsLinus Heckemann
This improves searchability.
2019-03-01manual nitpick: document sha512 support in hashStringVladimír Čunát
2018-11-13manual: quote $servletsFelix C. Stegerman
2018-11-12fix typo (s/gift/git/)Felix C. Stegerman
2018-11-09Manual: build locally -> buildEelco Dolstra
2018-11-08Fix manual buildLinus Heckemann
This was broken by some missing closing tags in 0bea4a50e03
2018-11-08Merge pull request #2524 from domenkozar/deprecate-toPathEelco Dolstra
Deprecate builtins.toPath
2018-11-08Deprecate builtins.toPathDomen Kožar
2018-11-07Document allowSubstitutesEelco Dolstra
2018-11-07Fix preferLocalBuild descriptionEelco Dolstra
preferLocalBuild does not in fact prevent substitution.
2018-10-04Docs: update fixed output hashesBenjamin Hipple
`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-02manual: add XML IDs to all builtin list entriesProfpatsch
2018-09-01Merge pull request #2309 from symphorien/disallowed-manEelco Dolstra
add manual entries for disallowedRequisites and disallowedReferences
2018-09-01Merge pull request #2384 from graham-at-target/fetch-git-examplesEelco Dolstra
docs: Add some examples to fetchGit
2018-08-31Drop ssh://... as a required formatting for builtins.fetchGitGraham Christensen
2018-08-31docs: Add IDs to important sectionsGraham Christensen
2018-08-31docs: Add some examples to fetchGitGraham Christensen
2018-07-26add manual entries for disallowedRequisites and disallowedReferencesSymphorien Gibol
2018-06-10manual: builtins.fromJSON: remove the claim that floats are not allowedMichael Raskin
floating-point numbers are supported now, including the fromJSON builtin. Reported on IRC by inquisitiv3
2018-05-30Explicitly describe the effects of filterSource excluding a directory.Shea Levy
2018-05-30Merge pull request #2164 from mickours/doc-fetchTarball-timoutGraham Christensen
Explain fetchTarball timeout behavior in the doc
2018-05-30Explain fetchTarball timeout behavior in the docMichael Mercier