about summary refs log tree commit diff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2017-07-06 Fix nix-instantiate manpage indentationRobert Vollmert1-1/+2
The second command variant is now its own cmdsynopsis, which ensures it's not indented as was the case using sbrk.
2017-07-04 Add allow-new-privileges optionEelco Dolstra1-0/+17
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-14 OS X -> macOSEelco Dolstra1-1/+1
(cherry picked from commit c20641ce569dc1fdeaeaa147b0292f258667f53b)
2017-06-14 Add 1.11.10 release notesEelco Dolstra2-0/+32
(cherry picked from commit 0fb60e4e0f66cc42c7c274acfcf00b51f6c829c4)
2017-05-29 Merge pull request #1393 from pyrtsa/patch-1Eelco Dolstra1-1/+1
Fix variable name typo in derivations doc
2017-05-28 Remove stray `>` in builtins docPyry Jahkola1-1/+1
2017-05-28 Fix variable name typo in derivations docPyry Jahkola1-1/+1
2017-05-24 Merge pull request #1382 from FRidh/patch-1Eelco Dolstra1-0/+18
Document fetchTarball can take a sha256
2017-05-17 Document that builtins.match takes a POSIX extended REEelco Dolstra1-4/+10
2017-05-11 Document fetchTarball can take a sha256Frederik Rietdijk1-0/+18
Note that I refer to `nix-prefetch-url`.
2017-05-10 TypoEelco Dolstra1-1/+1
2017-05-10 Replace readline by linenoiseEelco Dolstra1-0/+6
Using linenoise avoids a license compatibility issue (#1356), is a lot smaller and doesn't pull in ncurses.
2017-05-10 doc: builtins.attrNames returns alphabetically sorted listDomen Kožar1-1/+1
2017-05-03 Merge pull request #1371 from regnat/doc_--xml_fixEelco Dolstra1-10/+8
fix the description of --xml and --json
2017-05-03 doc: fix the description of --xml and --jsonregnat1-10/+8
Those options seem to only apply with --eval and not with --parse.
2017-05-01 Remove $NIX_BUILD_HOOK and $NIX_CURRENT_LOADEelco Dolstra2-146/+2
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-24 Merge pull request #1347 from kennyballou/sm-grammar-fixEelco Dolstra1-1/+1
Fix small grammar issue about page
2017-04-24 Merge pull request #1351 from earldouglas/ellipsesEelco Dolstra1-1/+1
Drop misleading ellipses
2017-04-24 Merge pull request #1348 from armijnhemel/nix-envEelco Dolstra1-1/+1
better document --meta option for nix-env
2017-04-20 Drop misleading ellipsesJames Earl Douglas1-1/+1
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-20 Read per-user settings from ~/.config/nix/nix.confEelco Dolstra1-8/+28
2017-04-20 binary-caches-parallel-connections -> http-connectionsEelco Dolstra1-1/+1
2017-04-20 nix.conf man page: binary-caches -> substitutersEelco Dolstra1-21/+13
2017-04-19 document optionArmijn Hemel1-1/+1
2017-04-19 Fix small grammar issue about pagekballou1-1/+1
Fix subject-verb agreement issue in introduction/about.
2017-04-17 Manual: document tryEvalLinus Heckemann1-0/+13
2017-04-13 Convert Settings to the new config systemEelco Dolstra1-10/+0
This makes all config options self-documenting. Unknown or unparseable config settings and --option flags now cause a warning.
2017-04-12 Move note about float support out of the wrong release notesBenjamin Staffin2-7/+7
Looks like this snuck into the 1.11 release notes post-release, but float support isn't actually present until 1.12.
2017-03-31 Merge branch 'remove-perl' of https://github.com/shlevy/nixEelco Dolstra2-12/+5
2017-03-21 Fix tests to reflect the signed-binary-caches default changeEelco Dolstra1-3/+4
2017-03-15 Store: Add a method for getting build logsEelco Dolstra2-20/+1
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.
2017-03-09 nix -> NixEelco Dolstra1-2/+2
2017-03-08 Add docs for allow-import-from-derivationShea Levy1-0/+10
2017-02-28 Support auto-configuration of build-max-jobsEelco Dolstra2-5/+6
"build-max-jobs" and the "-j" option can now be set to "auto" to use the number of CPUs in the system. (Unlike build-cores, it doesn't use 0 to imply auto-configuration, because a) magic values are a bad idea in general; b) 0 is a legitimate value used to disable local building.) Fixes #1198.
2017-02-27 Fix 1.8 release note about build-max-jobsEelco Dolstra1-2/+2
We set build-cores automatically, not build-max-jobs. (The commit message for de4cdd0d47adc70a4db12397a42c18ee50b4e662 also got this wrong.)
2017-02-21 Fix XML validityEelco Dolstra1-9/+8
2017-02-20 Document toString betterLinus Heckemann1-4/+12
2017-02-16 Tweak netrc docsEelco Dolstra1-4/+12
2017-02-07 Remove Perl dependency listing in docJanus Troelsen1-7/+0
2017-02-07 Remove perl dependency.Shea Levy1-5/+5
Fixes #341
2017-02-02 Add netrc-file supportRenzo Carbonara1-0/+15
2017-01-03 Drop a few more references to all-packages.nixEelco Dolstra2-13/+6
And also don't refer to f-spot, which apparently no longer exists. Issue #1170.
2016-12-28 Document the common --no-build-hook optionzimbatm1-0/+17
2016-12-16 manual: add NIX_CONF_DIR to conf-file sectionDaiderd Jordan1-1/+2
2016-12-11 Document path-search behaviourLinus Heckemann1-1/+10
2016-12-09 Document builtins.match, fixes #1145Domen Kožar1-0/+29
2016-12-06 Add shell.nixEelco Dolstra1-2/+2
2016-12-06 Drop unused WWW::Curl dependencyEelco Dolstra1-1/+1
2016-11-03 installation: allow profile modification to be skipped (#1072)Manav Rathi1-0/+8
The current behaviour modifies the first writeable file from amongst .bash_profile, .bash_login and .profile. So .bash_profile (if it is writable) would be modified even if a user has already sourced nix.sh in, say, .profile. This commit introduces a new environment variable, NIX_INSTALLER_NO_MODIFY_PROFILE. If this is set during installation, then the modifications are unconditionally skipped. This is useful for users who have a manually curated set of dotfiles that they are porting to a new machine. In such scenarios, nix.sh is already sourced at a place where the user prefers. Without this change, the nix installer would insist on modifying .bash_profile if it exists. This commit also add documentations for both the current behaviour and the new override.
2016-10-31 Support optional sandbox pathsEelco Dolstra1-1/+6
For example, you can now set build-sandbox-paths = /dev/nvidiactl? to specify that /dev/nvidiactl should only be mounted in the sandbox if it exists in the host filesystem. This is useful e.g. for EC2 images that should support both CUDA and non-CUDA instances.