aboutsummaryrefslogtreecommitdiff
path: root/doc/manual
AgeCommit message (Collapse)Author
2018-01-04Rename "use-substitutes" to "substitute"Eelco Dolstra
Commit c2154d4c8422ddc1c201d503bb52edff854af2ad renamed "build-use-substitutes" to "use-substitutes", but that broke "nix-copy-closure --use-substitutes".
2017-12-12Merge pull request #1725 from chris-martin/pr/concatStringsSepEelco Dolstra
Add builtins.concatStringSep to the manual
2017-12-11Add builtins.concatStringSep to the manualChris Martin
2017-12-11Merge pull request #1721 from expipiplus1/patch-2Eelco Dolstra
Escape left angle brackets in XML documentation
2017-12-11Merge branch 'feature/linenoise-ng' of git://github.com/dtzWill/nixShea Levy
2017-12-09Escape left angle brackets in XML documentationJoe Hermaszewski
2017-12-08nix-hash: Add sentence and example for nix-prefetch-url hashMarkus Hauck
2017-11-27doc: linenoise -> linenoise-ngWill Dietz
2017-11-21Add a warning about the 'trusted-users' optionEelco Dolstra
2017-11-20Document secret-key-filesEelco Dolstra
2017-11-20signed-binary-caches -> require-sigsEelco Dolstra
Unlike signed-binary-caches (which could only be '*' or ''), require-sigs is a proper Boolean option. The default is true.
2017-11-20binary-cache-public-keys -> trusted-public-keysEelco Dolstra
The name had become a misnomer since it's not only for substitution from binary caches, but when adding/copying any (non-content-addressed) path to a store.
2017-11-03Remove git:// support in NIX_PATHEelco Dolstra
This didn't support specifying a revision/branch, and was restricted to git:// URIs (since https:// or ssh:// would be ambiguous).
2017-11-01Mention isFloat function in "Built-in Functions" sectionZoran Plesivčak
2017-11-01Mention "float" type in builtins.typeOf section of the docsZoran Plesivčak
+ remove trailing whitespace from the file
2017-10-30Add option allowed-urisEelco Dolstra
This allows network access in restricted eval mode.
2017-10-30fetchurl/fetchTarball are *not* allowed in restricted modeEelco Dolstra
Accidentally committed this change as part of f9686885be54a9b0f8947713a414de4ad3182037. Restricted mode != pure mode.
2017-10-30Merge pull request #1633 from orivej/docDomen Kožar
Update the language documentation
2017-10-30fetchgit -> fetchGitEelco Dolstra
Almost all other primops are camelCase so no reason not to use that here.
2017-10-26Clarify indented string escaping rulesOrivej Desh
2017-10-26Describe "with" scoping precedenceOrivej Desh
2017-10-26Describe arithmetic operatorsOrivej Desh
2017-10-23Release note updatesEelco Dolstra
2017-10-19Mention C++14 dependency in the manual.Keshav Kini
A couple makefiles in the sources have -std=c++14 in the CFLAGS.
2017-09-18Update release notesEelco Dolstra
2017-09-05Add automatic garbage collectionEelco Dolstra
Nix can now automatically run the garbage collector during builds or while adding paths to the store. The option "min-free = <bytes>" specifies that Nix should run the garbage collector whenever free space in the Nix store drops below <bytes>. It will then delete garbage until "max-free" bytes are available. Garbage collection during builds is asynchronous; running builds are not paused and new builds are not blocked. However, there also is a synchronous GC run prior to the first build/substitution. Currently, no old GC roots are deleted (as in "nix-collect-garbage -d").
2017-08-31Rename a few configuration optionsEelco Dolstra
In particular, drop the "build-" and "gc-" prefixes which are pointless. So now you can say nix build --no-sandbox instead of nix build --no-build-use-sandbox
2017-08-19Remove nix-mode.el from Nix.Matthew Bauer
This removes the file nix-mode.el from Nix. The file is now available within the repository https://github.com/NixOS/nix-mode. Fixes #662 Fixes #1040 Fixes #1054 Fixes #1055 Closes #1119 Fixes #1419 NOTE: all of the above should be fixed within NixOS/nix-mode. If one of those hasn’t please reopen within NixOS/nix-mode and not within NixOS/nix.
2017-08-18update MD5 to SHA-256 in expression-syntaxChase Adams
2017-08-16Update release notesEelco Dolstra
2017-08-16Merge branch 'tokenize' of https://github.com/nbp/nixEelco Dolstra
2017-08-15Add 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-15Move builtins.match documentation between map and mul.Nicolas B. Pierron
2017-08-10Start of 1.12 release notesEelco Dolstra
2017-07-30replace "Mac OS X" with "macOS"davidak
except in older release notes where the name was actually Mac OS X.
2017-07-18Update the mailing list.Graham Christensen
2017-07-17Make the hashes mirrors used by builtins.fetchurl configurableEelco Dolstra
In particular, this allows it to be disabled in our tests.
2017-07-15use sha256 hashes in the examplesHarmen
And fix a dead link.
2017-07-10fix buggy nix-shell man pageRobert Vollmert
2017-07-07man page (nix-shell): Fix grouping of -p optionRobert Vollmert
Not sure about the raw ellipsis.
2017-07-07man page (nix-prefetch-url): Add some missing optionsRobert Vollmert
2017-07-07man page (nix-instantiate): -E is optionalRobert Vollmert
2017-07-07man page (nix-instantiate): Add --json to synopsis, order variablesRobert Vollmert
2017-07-07man page (nix-instantiate): Remove non-existent nix-build argument -rRobert Vollmert
2017-07-07man pages: Consistently separate alternatives by /Robert Vollmert
2017-07-07man pages: Argument for --max-jobsRobert Vollmert
2017-07-07man pages: Grouping for option alternativesRobert Vollmert
2017-07-07glossary: Fix word orderRobert Vollmert
2017-07-06Fix nix-instantiate manpage indentationRobert Vollmert
The second command variant is now its own cmdsynopsis, which ensures it's not indented as was the case using sbrk.
2017-07-04Add allow-new-privileges optionEelco Dolstra
This allows builds to call setuid binaries. This was previously possible until we started using seccomp. Turns out that seccomp by default disallows processes from acquiring new privileges. Generally, any use of setuid binaries (except those created by the builder itself) is by definition impure, but some people were relying on this ability for certain tests. Example: $ nix build '(with import <nixpkgs> {}; runCommand "foo" {} "/run/wrappers/bin/ping -c 1 8.8.8.8; exit 1")' --no-allow-new-privileges builder for ‘/nix/store/j0nd8kv85hd6r4kxgnwzvr0k65ykf6fv-foo.drv’ failed with exit code 1; last 2 log lines: cannot raise the capability into the Ambient set : Operation not permitted $ nix build '(with import <nixpkgs> {}; runCommand "foo" {} "/run/wrappers/bin/ping -c 1 8.8.8.8; exit 1")' --allow-new-privileges builder for ‘/nix/store/j0nd8kv85hd6r4kxgnwzvr0k65ykf6fv-foo.drv’ failed with exit code 1; last 6 log lines: PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=46 time=15.2 ms Fixes #1429.