aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2020-06-18Merge pull request #3709 from expipiplus1/masterEelco Dolstra
Mention number of derivations to be build/fetched in output
2020-06-18Instruct the user to follow redirects when installing Nix.Samir Talwar
Nix installation now requires following redirects using `curl -L`. This is currently represented on the [Nix download page][] but not in the manual. This change updates the manual to reflect this. Using `curl` without the `-L` flag results in an empty body, making installation a no-op. [Nix download page]: https://nixos.org/download.html
2020-06-17Mention number of derivations to be build/fetched in outputJoe Hermaszewski
Also correct grammar for the case of a single derivation.
2020-06-08add documentationzimbatm
2020-05-23Manpages: Do not refer to nixpkgs-channelsJoachim Breitner
Unless I am misinformed, using the `nixpkgs` repository directly is now preferred?
2020-05-23Merge pull request #3212 from LnL7/darwin-10.15-installDomen Kožar
install: configure and bootstrap synthetic.conf on darwin
2020-05-21focus on golden-path covering most scenariosTravis A. Everett
This should handle installation scenarios we can handle with anything resembling confidence. Goal is approximating the existing setup--not enforcing a best-practice... Approaches (+ installer-handled, - manual) and configs each covers: + no change needed; /nix OK on boot volume: All pre-Catalina (regardless of T2 or FileVault use) + create new unencrypted volume: Catalina, pre-T2, no FileVault + create new encrypted-at-rest volume: Catalina, pre-T2, FileVault Catalina, T2, no FileVault - require user to pre-create encrypted volume Catalina, T2, FileVault
2020-05-21installer: refuse apfs volume creation when FileVault is enabledDaiderd Jordan
2020-05-21manual: clarify volume creation sectionDaiderd Jordan
2020-05-21install: improve output and error handlingDaiderd Jordan
2020-05-21manual: add apfs volume sectionDaiderd Jordan
2020-05-21documentation: avoid unquoted URLsKrzysztof Gogolewski
2020-05-16Remove -j option from simple-build-testingJörg Thalheim
By default Nix/NixOS already set a reasonable default `max-jobs = auto` so we don't need to mention it in this tutorial. The option is still documented in other parts of the documentation if users ever stumble over this. Fixes https://github.com/NixOS/nix/issues/2531
2020-05-11Merge pull request #3581 from TerrorJack/patch-1Domen Kožar
Update "Upgrading Nix" documentation
2020-05-11Merge pull request #3582 from bhipple/doc/fixed-outputDomen Kožar
doc: consistently refer to 'fixed-output' with a dash
2020-05-09doc: consistently refer to 'fixed-output' with a dashBenjamin Hipple
General cleanup that makes it easier to search for the term.
2020-05-09Update "Upgrading Nix" documentationShao Cheng
This PR proposes two changes to the "Upgrading Nix" documentation: * Besides updating `nixpkgs.nix`, we also update `nixpkgs.cacert`, so that the certificates are up-to-date as well. * Add the instructions for multi-user mode on Linux.
2020-05-09Fix typoDani
2020-05-07Manual: TypoEelco Dolstra
2020-05-07Manual: Fix typoEelco Dolstra
2020-04-14add NIX_USER_CONF_FILESzimbatm
Motivation: maintain project-level configuration files. Document the whole situation a bit better so that it corresponds to the implementation, and add NIX_USER_CONF_FILES that allows overriding which user files Nix will load during startup.
2020-04-07Merge branch 'fetchgit-recursive' of https://github.com/blitz/nixEelco Dolstra
2020-03-29Add documentation for submodule support in fetchGitJulian Stecklina
2020-03-23doc: Files in the store have modes 444/555, not 644/755Greg Price
This line has been this way since it was written, in 9e08f5efe in 2006. I think it was just a small mistake then; Eelco's thesis earlier that year says the permission on each file is set to 0444 or 0555 in a derivation's output as part of the build process. In any case I'm pretty sure that's the behavior now.
2020-03-19Remove the --delete option for --gcjakobrs
Running `nix-store --gc --delete` will, as of Nix 2.3.3, simply fail because the --delete option conflicts with the --delete operation. $ nix-store --gc --delete error: only one operation may be specified Try 'nix-store --help' for more information. Furthermore, it has been broken since at least Nix 0.16 (which was released sometime in 2010), which means that any scripts which depend on it should have been broken at least nine years ago. This commit simply formally removes the option. There should be no actual difference in behaviour as far as the user is concerned: it errors with the exact same error message. The manual has been edited to remove any references to the (now gone) --delete option. Other information: * Path for Nix 0.16 used: /nix/store/rp3sgmskn0p0pj1ia2qwd5al6f6pinz4-nix-0.16
2020-03-13Merge pull request #3380 from contrun/no-attr-path-for-installedEelco Dolstra
display attr-path only when queried available
2020-03-14display attr-path only when queried availableYI
2020-03-13Remove callout graphicsEelco Dolstra
Fixes #3396.
2020-03-13style.css: RemoveEelco Dolstra
This file is licensed under the GPL. Originally, Nix was also GPL-licensed so that was fine. However, we later changed the license to the LGPL but missed the fact that style.css has an incompatible license. Since the Nix manual at nixos.org uses its own styling, we can remove this file. Fixes #3392.
2020-03-11nixos.org/releases -> releases.nixos.orgEelco Dolstra
2020-02-19Merge pull request #3332 from Calvin-L/patch-1Eelco Dolstra
Document that autoconf is a dependency
2020-02-19TypoEelco Dolstra
2020-02-15doc: mention how to turn on pure evaluation mode in manualBenjamin Hipple
The flag is `--pure-eval`, which can be found by looking at the test suite; it should be in the notes describing the feature as well, since otherwise users may assume this is referencing something like `nix-shell --pure`.
2020-01-26Document that autoconf is a dependencyCalvin Loncaric
2020-01-14doc: touchup release notes for 2.3Benjamin Hipple
- At the top of the release notes, we announce sandboxing is now enabled by default, then at the bottom it says it's now disabled when missing kernel support. These can be merged into one point for clarity. - The point about `max-jobs` defaulting to 1 appears unrelated to sandboxing.
2020-01-09Add link to official channels in nix-channel command refJoe Pea
2020-01-09Add a link to official channels in the Channels chapter.Joe Pea
2019-12-03doc/manual: add ids to the advanced attribute definitionsProfpatsch
This makes it possible to reference single attribute definitions, for pointing people to their exact definition.
2019-12-03doc/manual: add note to `allowSubstitutes` advanced attributeProfpatsch
2019-11-26TypoEelco Dolstra
2019-11-26Merge branch 'document-dry-run-option' of https://github.com/Ma27/nixEelco Dolstra
2019-11-25Document builtins.placeholderArnout Engelen
2019-11-10manual: nix-shell: Elaborate on using `-p` with expressions.Niklas Hambüchen
This documents the outcome of the change in https://github.com/NixOS/nix/issues/454: > We can also automatically add parentheses in the generated > `buildInputs`, so you can type `nix-shell -p "expr"` > instead of `"(expr").
2019-11-07doc: Document `--dry-run` option for `nix-build`Maximilian Bosch
2019-11-05Fix manual buildEelco Dolstra
2019-11-05Merge pull request #3193 from matthewbauer/patch-11Eelco Dolstra
Update man to show that nix-shell allows --arg
2019-11-05Merge pull request #3180 from kevinastock/patch-1Eelco Dolstra
docs: fix upper bound on number of consumed cores
2019-11-05Merge pull request #3199 from kevinastock/patch-2Eelco Dolstra
docs: xref doesn't render in title
2019-11-04docs: correct default location of log directoryKevin Stock
2019-11-02docs: xref doesn't render in titleKevin Stock
The `post-build-hook` text currently appears in the index, but not on the actual title line of the section, this follows the pattern used in a previous section to get a reference into a title.