about summary refs log tree commit diff
path: root/doc/manual/command-ref
AgeCommit message (Collapse)AuthorFilesLines
2017-07-30 replace "Mac OS X" with "macOS"davidak1-1/+1
except in older release notes where the name was actually Mac OS X.
2017-07-17 Make the hashes mirrors used by builtins.fetchurl configurableEelco Dolstra1-0/+28
In particular, this allows it to be disabled in our tests.
2017-07-10 fix buggy nix-shell man pageRobert Vollmert1-1/+1
2017-07-07 man page (nix-shell): Fix grouping of -p optionRobert Vollmert1-4/+4
Not sure about the raw ellipsis.
2017-07-07 man page (nix-prefetch-url): Add some missing optionsRobert Vollmert1-2/+4
2017-07-07 man page (nix-instantiate): -E is optionalRobert Vollmert1-1/+1
2017-07-07 man page (nix-instantiate): Add --json to synopsis, order variablesRobert Vollmert1-16/+17
2017-07-07 man page (nix-instantiate): Remove non-existent nix-build argument -rRobert Vollmert1-1/+1
2017-07-07 man pages: Consistently separate alternatives by /Robert Vollmert2-12/+6
2017-07-07 man pages: Argument for --max-jobsRobert Vollmert1-2/+2
2017-07-07 man pages: Grouping for option alternativesRobert Vollmert2-10/+28
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-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 Dolstra1-133/+0
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 #1348 from armijnhemel/nix-envEelco Dolstra1-1/+1
better document --meta option for nix-env
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-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-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-16 Tweak netrc docsEelco Dolstra1-4/+12
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-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.
2016-09-21 Add sandbox-dev-shm-size optionEelco Dolstra1-0/+13
Fixes #1069.
2016-09-14 Revive binary-caches-parallel-connectionsEelco Dolstra1-4/+3
It's a slight misnomer now because it actually limits *all* downloads, not just binary cache lookups. Also add a "enable-http2" option to allow disabling use of HTTP/2 (enabled by default).
2016-08-10 s/powerpc-darwin/x86_64-darwin/Domen Kožar1-3/+3
Let's step in line with time and document more realistic values.
2016-08-10 Remove $NIX_DB_DIREelco Dolstra1-9/+0
This variable has no reason to exist, given $NIX_STATE_DIR.
2016-08-10 Nuke nix-push.Shea Levy4-455/+2
Rarely used, nix copy replaces it.
2016-08-10 Remove nix-install-package.Shea Levy2-209/+0
Refs #831
2016-06-20 Fix manual buildEelco Dolstra1-1/+1
http://hydra.nixos.org/build/36944270
2016-06-15 Remove nix-copy-closure reference note from nix-store docsJohannes 'fish' Ziemke1-6/+6
nix-copy-closure is not using nix-store directly anymore.
2016-04-29 BinaryCacheStore: Make the signing key a parameterEelco Dolstra1-10/+0
2016-04-25 Improved logging abstractionEelco Dolstra2-56/+0
This also gets rid of --log-type, since the nested log type isn't useful in a multi-threaded situation, and nobody cares about the "pretty" log type.
2016-04-14 Merge pull request #815 from vcunat/p/outputsToInstallEelco Dolstra1-0/+4
nix-env: respect meta.outputsToInstall
2016-04-11 Remove manifest supportEelco Dolstra7-148/+6
Manifests have been superseded by binary caches for years. This also gets rid of nix-pull, nix-generate-patches and bsdiff/bspatch.
2016-04-08 Remove failed build cachingEelco Dolstra2-91/+0
This feature was implemented for Hydra, but Hydra no longer uses it.
2016-03-22 Remove references to old-school signingEelco Dolstra1-18/+0
2016-03-14 Fix bad DocBookEelco Dolstra1-2/+3
http://hydra.nixos.org/build/33087405
2016-03-10 Merge pull request #822 from cstrahan/nix-store-serveEelco Dolstra1-0/+58
add docs for `nix-store --serve`
2016-03-04 Add option binary-cache-secret-key-file for signing binary cachesEelco Dolstra1-0/+10