about summary refs log tree commit diff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2018-02-13 Allow includes from nix.confShea Levy1-1/+6
2018-02-08 Allow using RegisterPrimop to define constants.Shea Levy1-1/+1
This enables plugins to add new constants, as well as new primops.
2018-02-08 Add plugins to make Nix more extensible.Shea Levy2-0/+34
All plugins in plugin-files will be dlopened, allowing them to statically construct instances of the various Register* types Nix supports.
2018-02-07 Merge pull request #1816 from shlevy/add-pathEelco Dolstra1-2/+72
Add path primop.
2018-02-06 Add path primop.Shea Levy1-2/+72
builtins.path allows specifying the name of a path (which makes paths with store-illegal names now addable), allows adding paths with flat instead of recursive hashes, allows specifying a filter (so is a generalization of filterSource), and allows specifying an expected hash (enabling safe path adding in pure mode).
2018-02-03 Remove nix-build --hashEelco Dolstra1-5/+5
Instead, if a fixed-output derivation produces has an incorrect output hash, we now unconditionally move the outputs to the path corresponding with the actual hash and register it as valid. Thus, after correcting the hash in the Nix expression (e.g. in a fetchurl call), the fixed-output derivation doesn't have to be built again. It would still be good to have a command for reporting the actual hash of a fixed-output derivation (instead of throwing an error), but "nix-build --hash" didn't do that.
2018-02-01 Merge branch 'master' of git://github.com/catern/nixShea Levy1-0/+2
2018-02-01 Remove docs on removed --drv-link and --add-drv-link optionsEelco Dolstra1-21/+0
2018-01-31 document ability to set NIX_REMOTE=unix://path/to/socketSpencer Baugh1-0/+2
2018-01-31 Rename 1.12 -> 2.0Eelco Dolstra2-3/+3
Following discussion with Shea and Graham. It's a big enough change from the last release. Also, from a semver perspective, 2.0 makes more sense because we did remove some interfaces (like nix-pull/nix-push).
2018-01-31 Add 'nix upgrade-nix' commandEelco Dolstra1-0/+5
This command upgrades Nix to the latest stable version by installing a store path obtained from https://github.com/NixOS/nixpkgs/raw/master/nixos/modules/installer/tools/nix-fallback-paths.nix which is the same store path that the installer at https://nixos.org/nix/install.sh uses. The upgrade fails if Nix is not installed in a profile (e.g. on NixOS, or when installed outside of the Nix store).
2018-01-31 Manual: Remove old cruftEelco Dolstra9-152/+2
2018-01-27 Improve manual on inheriting attributesEric Wolf1-2/+30
Expands first paragraph a bit Adds a more comprehensive example
2018-01-17 Move show-trace docsEelco Dolstra3-8/+8
2018-01-09 nix.conf: builders-use-substitutesRenzo Carbonara1-0/+14
Fixes #937
2018-01-04 Rename "use-substitutes" to "substitute"Eelco Dolstra1-1/+1
Commit c2154d4c8422ddc1c201d503bb52edff854af2ad renamed "build-use-substitutes" to "use-substitutes", but that broke "nix-copy-closure --use-substitutes".
2017-12-12 Merge pull request #1725 from chris-martin/pr/concatStringsSepEelco Dolstra1-0/+8
Add builtins.concatStringSep to the manual
2017-12-11 Add builtins.concatStringSep to the manualChris Martin1-0/+8
2017-12-11 Merge pull request #1721 from expipiplus1/patch-2Eelco Dolstra1-2/+2
Escape left angle brackets in XML documentation
2017-12-11 Merge branch 'feature/linenoise-ng' of git://github.com/dtzWill/nixShea Levy1-1/+1
2017-12-09 Escape left angle brackets in XML documentationJoe Hermaszewski1-2/+2
2017-12-08 nix-hash: Add sentence and example for nix-prefetch-url hashMarkus Hauck1-1/+12
2017-11-27 doc: linenoise -> linenoise-ngWill Dietz1-1/+1
2017-11-21 Add a warning about the 'trusted-users' optionEelco Dolstra1-5/+6
2017-11-20 Document secret-key-filesEelco Dolstra1-3/+16
2017-11-20 signed-binary-caches -> require-sigsEelco Dolstra1-5/+8
Unlike signed-binary-caches (which could only be '*' or ''), require-sigs is a proper Boolean option. The default is true.
2017-11-20 binary-cache-public-keys -> trusted-public-keysEelco Dolstra1-5/+5
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-03 Remove git:// support in NIX_PATHEelco Dolstra1-7/+0
This didn't support specifying a revision/branch, and was restricted to git:// URIs (since https:// or ssh:// would be ambiguous).
2017-11-01 Mention isFloat function in "Built-in Functions" sectionZoran Plesivčak1-0/+10
2017-11-01 Mention "float" type in builtins.typeOf section of the docsZoran Plesivčak1-8/+9
+ remove trailing whitespace from the file
2017-10-30 Add option allowed-urisEelco Dolstra2-1/+25
This allows network access in restricted eval mode.
2017-10-30 fetchurl/fetchTarball are *not* allowed in restricted modeEelco Dolstra1-2/+1
Accidentally committed this change as part of f9686885be54a9b0f8947713a414de4ad3182037. Restricted mode != pure mode.
2017-10-30 Merge pull request #1633 from orivej/docDomen Kožar3-15/+54
Update the language documentation
2017-10-30 fetchgit -> fetchGitEelco Dolstra1-1/+1
Almost all other primops are camelCase so no reason not to use that here.
2017-10-26 Clarify indented string escaping rulesOrivej Desh1-5/+9
2017-10-26 Describe "with" scoping precedenceOrivej Desh1-1/+14
2017-10-26 Describe arithmetic operatorsOrivej Desh1-9/+31
2017-10-23 Release note updatesEelco Dolstra1-36/+48
2017-10-19 Mention C++14 dependency in the manual.Keshav Kini1-2/+2
A couple makefiles in the sources have -std=c++14 in the CFLAGS.
2017-09-18 Update release notesEelco Dolstra1-0/+10
2017-09-05 Add automatic garbage collectionEelco Dolstra1-0/+4
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-31 Rename a few configuration optionsEelco Dolstra3-35/+34
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-19 Remove nix-mode.el from Nix.Matthew Bauer1-0/+6
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-18 update MD5 to SHA-256 in expression-syntaxChase Adams1-2/+2
2017-08-16 Update release notesEelco Dolstra1-0/+5
2017-08-16 Merge branch 'tokenize' of https://github.com/nbp/nixEelco Dolstra1-0/+37
2017-08-15 Add builtins.string function.Nicolas B. Pierron1-0/+37
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-15 Move builtins.match documentation between map and mul.Nicolas B. Pierron1-36/+36
2017-08-10 Start of 1.12 release notesEelco Dolstra1-2/+360
2017-07-30 replace "Mac OS X" with "macOS"davidak5-6/+6
except in older release notes where the name was actually Mac OS X.