aboutsummaryrefslogtreecommitdiff
path: root/doc/manual
AgeCommit message (Collapse)Author
2022-01-13TweakEelco Dolstra
2022-01-13Merge branch 'patch-1' of https://github.com/TheodorRene/nixEelco Dolstra
2022-01-12Release Notes 2.4: add `--indirect` no-op changeProfpatsch
Since https://github.com/NixOS/nix/commit/00d25e84577659ccf0bc360c61c47b6cd25d1c26 which was first included in nix 2.4. It is a backwards-compatible change since the flag will just be ignored.
2022-01-11Add link to explanation when introducing a new operatorTheodor René Carlsen
The logical implication operator is included in this section but never explained. It might stump new readers with a pretty uncommon operator, and it's never referenced explicitly.
2022-01-03add zipAttrsWith primoppennae
nixpkgs can save a good bit of eval memory with this primop. zipAttrsWith is used quite a bit around nixpkgs (eg in the form of recursiveUpdate), but the most costly application for this primop is in the module system. it improves the implementation of zipAttrsWith from nixpkgs by not checking an attribute multiple times if it occurs more than once in the input list, allocates less values and set elements, and just avoids many a temporary object in general. nixpkgs has a more generic version of this operation, zipAttrsWithNames, but this version is only used once so isn't suitable for being the base of a new primop. if it were to be used more we should add a second primop instead.
2021-12-29Add ability to toggle show-trace from within the replAlexander Bantyev
2021-12-21Update release notesEelco Dolstra
2021-12-16Fix docker instructionsEelco Dolstra
2021-12-15List aarch64 as supported macOS hardwarejesse
Resolves #5767
2021-12-14Merge pull request #5702 from baloo/baloo/hide-non-reproducible-settingsThéophane Hufschmitt
reproducibility: hide non-reproducible settings from manual
2021-12-13rl-2.5.md: Set dateEelco Dolstra
2021-12-13Move rl-next.md to rl-2.5.mdEelco Dolstra
2021-12-13Add release notes entry for #5149Eelco Dolstra
2021-12-10doc: Fix command for distributed buildsJanne Heß
We also need to build impurely or the <nixpkgs> lookup will not work.
2021-12-09Fix link to nixos channelAmon Stopinšek
The old link returned 404 errror.
2021-12-07Merge pull request #5730 from abathur/darwin_document_fstab_settingsEelco Dolstra
document some darwin mount settings
2021-12-06nix repl: add :logAlexander Bantyev
Add a :log command that shows logs for a derivation. Closes https://github.com/NixOS/nix/issues/3504 Co-authored-by: Taeer Bar-Yam <taeer@bar-yam.me>
2021-12-04document some darwin mount settingsTravis A. Everett
2021-12-03Merge pull request #5715 from Infinisil/groupBy-primopEelco Dolstra
Introduce `builtins.groupBy` primop
2021-12-02Fix docker commandDavid Purdum
`docker -ti run nixos` does not run on docker version 20.10.7 (my machine). This fixes it to read `docker run -ti nixos`.
2021-12-02Introduce builtins.groupBy primopSilvan Mosberger
This function is very useful in nixpkgs, but its implementation in Nix itself is rather slow due to it requiring a lot of attribute set and list appends.
2021-12-01reproducibility: hide non-reproducible settings from manualArthur Gautier
Because the manual is generated from default values which are themselves generated from various sources (cpuid, bios settings (kvm), number of cores). This commit hides non-reproducible settings from the manual output.
2021-11-30Update doc/manual/src/glossary.mdEli Flanagan
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
2021-11-30docs: document set theory symbolsEli Flanagan
These symbols confused me so I wanted to gloss them to help future users. You can see the context here: https://discourse.nixos.org/t/flakes-what-does-mean-big-bundle-of-questions
2021-11-30Merge remote-tracking branch 'origin/build-with-clang'Eelco Dolstra
2021-11-29Merge pull request #5678 from t184256/document-libsodiumEelco Dolstra
Document libsodium, which is now mandatory, as a dependency.
2021-11-29Merge pull request #5679 from t184256/optional-libcpuidEelco Dolstra
Document libcpuid dependency and make it optional
2021-11-28Make libcpuid dependency optional with --disable-cpuidAlexander Sosedkin
2021-11-28Document libcpuid dependencyAlexander Sosedkin
2021-11-27Document libsodium, which is now mandatory, as a dependencyAlexander Sosedkin
2021-11-26reproducibility: determinstic man page output for coresTom Bereknyei
2021-11-26Documentation: alternative `stdenv` for hackingPamplemousse
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
2021-11-25Update namesEelco Dolstra
2021-11-24Make lists be comparableSilvan Mosberger
Makes lists comparable using lexicographic comparison. Increments builtins.langVersion in order for this change to be detectable
2021-11-18doc: Fix escape for operator "logical or"Lorenz Leutgeb
See https://matrix.to/#/!KqkRjyTEzAGRiZFBYT:nixos.org/$hhMb6AdRIXfRkv_LsNsiQJuch7AQ_b6szr4tfawFy-4
2021-11-18Merge pull request #5585 from jtojnar/env-aEelco Dolstra
doc: De-emphasize nix-env without -A
2021-11-17doc: De-emphasize nix-env without -AJan Tojnar
The manual uses `nix-env -i` without `-A` prominently, teaching a bad practice to newcomers.
2021-11-17Fix XDG_CONFIG_DIRS fallbackJan Tojnar
According to XDG Base Directory Specification, it should fall back to /etc/xdg when the env var is not present.
2021-11-16Merge branch 'add-docker-image-to-hydra-jobs' of https://github.com/garbas/nixEelco Dolstra
2021-11-13fix many doc typosKevin Amado
2021-11-11Documenting how to use/build Nix' Docker imageRok Garbas
2021-11-08Fix some typos in CLI guideline.Théo Zimmermann
2021-11-04docs: Correct fallback user config pathJan Tojnar
This is in line with XDG Base Directory Specification, where ~/.config is supposed to be used when XDG_CONFIG_HOME is unset. It also better matches the reality, where ~/.config/nix.conf does not seem to be used.
2021-11-03Fix typosDimitris Apostolou
2021-11-02command-ref/nix-shell: fix --pure, --keepSimon Legner
2021-11-02Remove references to building from the source tarballEelco Dolstra
2021-11-01Fix 2.4 migration examplesEelco Dolstra
2021-10-28Rename rl-2.5.md to rl-next.mdEelco Dolstra
Having a generically named file for release notes for the next release makes things easier for PRs.
2021-10-272.4 release notes: Add some migration notesEelco Dolstra
2021-10-17Merge pull request #5365 from arafangion/masterDomen Kožar
Clarify that not all nix packages will use the default build phases