aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
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.
2017-06-14OS X -> macOSEelco Dolstra
(cherry picked from commit c20641ce569dc1fdeaeaa147b0292f258667f53b)
2017-06-14Add 1.11.10 release notesEelco Dolstra
(cherry picked from commit 0fb60e4e0f66cc42c7c274acfcf00b51f6c829c4)
2017-05-29Merge pull request #1393 from pyrtsa/patch-1Eelco Dolstra
Fix variable name typo in derivations doc
2017-05-28Remove stray `>` in builtins docPyry Jahkola
2017-05-28Fix variable name typo in derivations docPyry Jahkola
2017-05-24Merge pull request #1382 from FRidh/patch-1Eelco Dolstra
Document fetchTarball can take a sha256
2017-05-17Document that builtins.match takes a POSIX extended REEelco Dolstra
2017-05-11Document fetchTarball can take a sha256Frederik Rietdijk
Note that I refer to `nix-prefetch-url`.
2017-05-10TypoEelco Dolstra
2017-05-10Replace readline by linenoiseEelco Dolstra
Using linenoise avoids a license compatibility issue (#1356), is a lot smaller and doesn't pull in ncurses.
2017-05-10doc: builtins.attrNames returns alphabetically sorted listDomen Kožar
2017-05-03Merge pull request #1371 from regnat/doc_--xml_fixEelco Dolstra
fix the description of --xml and --json
2017-05-03doc: fix the description of --xml and --jsonregnat
Those options seem to only apply with --eval and not with --parse.
2017-05-01Remove $NIX_BUILD_HOOK and $NIX_CURRENT_LOADEelco Dolstra
This is to simplify remote build configuration. These environment variables predate nix.conf. The build hook now has a sensible default (namely build-remote). The current load is kept in the Nix state directory now.
2017-04-24Merge pull request #1347 from kennyballou/sm-grammar-fixEelco Dolstra
Fix small grammar issue about page
2017-04-24Merge pull request #1351 from earldouglas/ellipsesEelco Dolstra
Drop misleading ellipses
2017-04-24Merge pull request #1348 from armijnhemel/nix-envEelco Dolstra
better document --meta option for nix-env
2017-04-20Drop misleading ellipsesJames Earl Douglas
This portion of the quick start guide may lead to confusion for newcomers to Nix. This change clarifies the example to one that can be copied in its entirety.
2017-04-20Read per-user settings from ~/.config/nix/nix.confEelco Dolstra
2017-04-20binary-caches-parallel-connections -> http-connectionsEelco Dolstra
2017-04-20nix.conf man page: binary-caches -> substitutersEelco Dolstra
2017-04-19document optionArmijn Hemel
2017-04-19Fix small grammar issue about pagekballou
Fix subject-verb agreement issue in introduction/about.
2017-04-17Manual: document tryEvalLinus Heckemann
2017-04-13Convert Settings to the new config systemEelco Dolstra
This makes all config options self-documenting. Unknown or unparseable config settings and --option flags now cause a warning.
2017-04-12Move note about float support out of the wrong release notesBenjamin Staffin
Looks like this snuck into the 1.11 release notes post-release, but float support isn't actually present until 1.12.
2017-03-31Merge branch 'remove-perl' of https://github.com/shlevy/nixEelco Dolstra
2017-03-21Fix tests to reflect the signed-binary-caches default changeEelco Dolstra
2017-03-15Store: Add a method for getting build logsEelco Dolstra
This allows various Store implementations to provide different ways to get build logs. For example, BinaryCacheStore can get the build logs from the binary cache. Also, remove the log-servers option since we can use substituters for this.