Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-07-06 | Merge pull request #2882 from grahamc/docs/1115-tarball-ttl | Eelco Dolstra | |
tarball-ttl: document | |||
2019-07-05 | tarball-ttl: document | Graham Christensen | |
Incorporates text from Niklas Hambüchen in #2978 Closes #1115 | |||
2019-07-02 | Merge pull request #2582 from LnL7/fetchgit-refs | Eelco Dolstra | |
fetchGit: allow fetching explicit refs | |||
2019-07-02 | builtins.fetchGit: document absolute ref support | Graham Christensen | |
2019-06-04 | Minor typo | JorisE | |
2019-05-21 | doc: 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-03 | Add builtins.hashFile | Daniel 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-24 | Add isPath primop | zimbatm | |
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 builtins | Linus Heckemann | |
This improves searchability. | |||
2019-03-01 | manual nitpick: document sha512 support in hashString | Vladimír Čunát | |
2018-11-13 | manual: quote $servlets | Felix C. Stegerman | |
2018-11-12 | fix typo (s/gift/git/) | Felix C. Stegerman | |
2018-11-09 | Manual: build locally -> build | Eelco Dolstra | |
2018-11-08 | Fix manual build | Linus Heckemann | |
This was broken by some missing closing tags in 0bea4a50e03 | |||
2018-11-08 | Merge pull request #2524 from domenkozar/deprecate-toPath | Eelco Dolstra | |
Deprecate builtins.toPath | |||
2018-11-08 | Deprecate builtins.toPath | Domen Kožar | |
2018-11-07 | Document allowSubstitutes | Eelco Dolstra | |
2018-11-07 | Fix preferLocalBuild description | Eelco Dolstra | |
preferLocalBuild does not in fact prevent substitution. | |||
2018-10-04 | Docs: update fixed output hashes | Benjamin 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-02 | manual: add XML IDs to all builtin list entries | Profpatsch | |
2018-09-01 | Merge pull request #2309 from symphorien/disallowed-man | Eelco Dolstra | |
add manual entries for disallowedRequisites and disallowedReferences | |||
2018-09-01 | Merge pull request #2384 from graham-at-target/fetch-git-examples | Eelco Dolstra | |
docs: Add some examples to fetchGit | |||
2018-08-31 | Drop ssh://... as a required formatting for builtins.fetchGit | Graham Christensen | |
2018-08-31 | docs: Add IDs to important sections | Graham Christensen | |
2018-08-31 | docs: Add some examples to fetchGit | Graham Christensen | |
2018-07-26 | add manual entries for disallowedRequisites and disallowedReferences | Symphorien Gibol | |
2018-06-10 | manual: builtins.fromJSON: remove the claim that floats are not allowed | Michael Raskin | |
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 Levy | |
2018-05-30 | Merge pull request #2164 from mickours/doc-fetchTarball-timout | Graham Christensen | |
Explain fetchTarball timeout behavior in the doc | |||
2018-05-30 | Explain fetchTarball timeout behavior in the doc | Michael Mercier | |
2018-05-24 | add docs and tests | volth | |
2018-05-02 | docs: mention source of env variables used by `impureEnvVars`. | Gleb Peregud | |
2018-04-03 | document that writeTextFile from Nixpkgs is an alternative to builtins.toFile | Justin Humm | |
2018-03-23 | Document fetchGit. | Shea Levy | |
Fixes #1981. | |||
2018-02-14 | Add splitVersion primop. | Shea Levy | |
Fixes #1868. | |||
2018-02-07 | Merge pull request #1816 from shlevy/add-path | Eelco Dolstra | |
Add path primop. | |||
2018-02-06 | Add path primop. | Shea Levy | |
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 cruft | Eelco Dolstra | |
2018-01-27 | Improve manual on inheriting attributes | Eric Wolf | |
Expands first paragraph a bit Adds a more comprehensive example | |||
2017-12-11 | Add builtins.concatStringSep to the manual | Chris Martin | |
2017-11-01 | Mention isFloat function in "Built-in Functions" section | Zoran Plesivčak | |
2017-11-01 | Mention "float" type in builtins.typeOf section of the docs | Zoran Plesivčak | |
+ remove trailing whitespace from the file | |||
2017-10-26 | Clarify indented string escaping rules | Orivej Desh | |
2017-10-26 | Describe "with" scoping precedence | Orivej Desh | |
2017-10-26 | Describe arithmetic operators | Orivej Desh | |
2017-08-18 | update MD5 to SHA-256 in expression-syntax | Chase Adams | |
2017-08-16 | Merge branch 'tokenize' of https://github.com/nbp/nix | Eelco Dolstra | |
2017-08-15 | Add builtins.string function. | Nicolas B. Pierron | |
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. Pierron | |
2017-07-15 | use sha256 hashes in the examples | Harmen | |
And fix a dead link. |