aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/command-ref
AgeCommit message (Collapse)Author
2018-04-06update/re-order the options docsAmineChikhaoui
2018-04-06re-order the options using the alphabetical order and improve the example in ↵AmineChikhaoui
the positive lookup case
2018-04-06add documentation for the local disk cache TTL configAmineChikhaoui
2018-03-20manual: correct repeated "--deriver". Add missing single char option aliases.Corey O'Connor
2018-03-18Fix bad XMLEelco Dolstra
2018-03-17doc: document the min-free and max-free optionszimbatm
2018-03-17doc: add xml:id to all the config optionszimbatm
2018-03-16rename build-extra-platforms -> extra-platformsLinus Heckemann
also document it
2018-03-01only delete things older than current gen and update logic in doc asMatthew O'Gorman
well
2018-03-01Implement --delete-generations + flag for keeping last N number of generationsMatthew O'Gorman
2018-03-01nix-channel grammar and punctuationMichael Fiano
Minor changes to the nix-channel manpage for my first contribution
2018-02-21Manual: Put configuration options in sorted orderEelco Dolstra
2018-02-21Manual: Update chapter on remote buildsEelco Dolstra
Alos add a command "nix ping-store" to make it easier to see if Nix can connect to a remote builder (e.g. 'nix ping-store --store ssh://mac').
2018-02-13Allow plugins to define new settings.Shea Levy
2018-02-13Merge pull request #1863 from shlevy/conf-includesEelco Dolstra
Allow includes from nix.conf
2018-02-13Enable specifying directories in plugin-files.Shea Levy
2018-02-13Allow includes from nix.confShea Levy
2018-02-08Allow using RegisterPrimop to define constants.Shea Levy
This enables plugins to add new constants, as well as new primops.
2018-02-08Add plugins to make Nix more extensible.Shea Levy
All plugins in plugin-files will be dlopened, allowing them to statically construct instances of the various Register* types Nix supports.
2018-02-01Merge branch 'master' of git://github.com/catern/nixShea Levy
2018-02-01Remove docs on removed --drv-link and --add-drv-link optionsEelco Dolstra
2018-01-31document ability to set NIX_REMOTE=unix://path/to/socketSpencer Baugh
2018-01-17Move show-trace docsEelco Dolstra
2018-01-09nix.conf: builders-use-substitutesRenzo Carbonara
Fixes #937
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-09Escape left angle brackets in XML documentationJoe Hermaszewski
2017-12-08nix-hash: Add sentence and example for nix-prefetch-url hashMarkus Hauck
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-10-30Add option allowed-urisEelco Dolstra
This allows network access in restricted eval mode.
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-07-30replace "Mac OS X" with "macOS"davidak
except in older release notes where the name was actually Mac OS X.
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-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-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-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 #1348 from armijnhemel/nix-envEelco Dolstra
better document --meta option for nix-env