aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-14Avoid poly_user_note_set twiceTIAN Yuanhao
f06f810 incorrectly introduces a boolean flip, resulting in a senseless poly_user_note_set even though the user comment has been set correctly.
2022-12-08Merge pull request #7379 from fricklerhandwerk/refactor-generate-optionsThéophane Hufschmitt
refactor rendering documentation of options
2022-12-07Merge pull request #7404 from ncfavier/tmpdir-testsThéophane Hufschmitt
tests: don't refer to TMPDIR
2022-12-07Merge pull request #7414 from hercules-ci/version-newlineEelco Dolstra
.version: Add newline
2022-12-07Merge pull request #7099 from lheckemann/remove-repeatEelco Dolstra
Remove repeat option
2022-12-07do not render links in man pagesValentin Gagarin
this is a follow-up on e7dcacb. most links are relative and this should not be too much of a detriment.
2022-12-07use HTML anchors for config parametersValentin Gagarin
this avoids incorrect rendering on the man pages, since `lowdown` neither parses the anchor syntax nor HTML. this should rather be fixed in lowdown, as adding more anchors would otherwise produce ever more noise and error-prone repetition.
2022-12-07Merge branch 'master' into remove-repeatEelco Dolstra
2022-12-07flake.nix: Use nixpkgs.lib.fileContentsRobert Hensing
2022-12-07Post build hook signing (#7408)endgame
* docs: Use secret-key-files when demonstrating post-build-hooks The docs used to recommend calling `nix store sign` in a post-build hook, but on more recent versions of nix, this results in unsigned store paths being copied into binary caches. See https://github.com/NixOS/nix/issues/6960 for details. Instead, use the `secret-key-files` config option, which signs all locally-built derivations with the private key. Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-12-07.version: Add newlineRobert Hensing
2022-12-07Merge pull request #7419 from fricklerhandwerk/installer-contactEelco Dolstra
let installer blurb to to community page
2022-12-07Remove repeat and enforce-determinism optionsLinus Heckemann
These only functioned if a very narrow combination of conditions held: - The result path does not yet exist (--check did not result in repeated builds), AND - The result path is not available from any configured substituters, AND - No remote builders that can build the path are available. If any of these do not hold, a derivation would be built 0 or 1 times regardless of the repeat option. Thus, remove it to avoid confusion.
2022-12-07Merge pull request #7418 from fricklerhandwerk/installer-issueThéophane Hufschmitt
add template for installer issues
2022-12-07let installer blurb point to community pageValentin Gagarin
being too specific about it requires more maintenance (or otherwise produced more confusion and churn), since these points of contact change over time.
2022-12-07add template for installer issuesValentin Gagarin
since the installer prompts users to file issues, labelling them automatically should reduce triaging effort significantly.
2022-12-06Merge pull request #7413 from NixOS/bump-2.13Eelco Dolstra
Bump version to 2.13
2022-12-06Bump versionEelco Dolstra
2022-12-06tests: don't refer to TMPDIRNaïm Favier
2022-12-06Merge pull request #7410 from edolstra/release-notesEelco Dolstra
Branch 2.12 release notes
2022-12-06Release notesEelco Dolstra
2022-12-06Merge pull request #7382 from fricklerhandwerk/doc-automatic-uidEelco Dolstra
move documentation on `auto-allocate-uids` to options docs
2022-12-06Tweak option descriptionsEelco Dolstra
2022-12-05Merge pull request #7390 from Radvendii/fix-6383Théophane Hufschmitt
check the store for input before failing (hopefully fix #6700)
2022-12-05Merge pull request #7401 from Mic92/cgroup-typoEelco Dolstra
getMaxCPU: fix cgroup path
2022-12-05Merge pull request #7392 from edolstra/revert-7251Eelco Dolstra
Revert "docs: drop shell prompt character for consistency"
2022-12-05check the store for input before failing (hopefully fix #6700)Taeer Bar-Yam
2022-12-05Merge pull request #7329 from fricklerhandwerk/maintainersEelco Dolstra
add maintainers' handbook
2022-12-05maintainers/README.md: Use CETEelco Dolstra
2022-12-05Fix typoEelco Dolstra
2022-12-05Merge pull request #7277 from fricklerhandwerk/codeownersThéophane Hufschmitt
add CODEOWNERS
2022-12-04getMaxCPU: fix cgroup pathJörg Thalheim
Given this typo I am not sure if it has been tested.
2022-12-02Merge pull request #7387 from fricklerhandwerk/upvote-conventionEelco Dolstra
encourage adding 👍 to express interest
2022-12-02Merge pull request #7394 from edolstra/fix-7268Eelco Dolstra
Lower verbosity of exceptions in getMaxCPU()
2022-12-02Merge pull request #7395 from obsidiansystems/evaluating-to-callingEelco Dolstra
Change "while evaluating <fun>" to "while *calling*" in trace
2022-12-02Change "while evaluating <fun>" to "while *calling*" in traceJohn Ericson
The old way was not correct. Here is an example: ``` $ nix-instantiate --eval --expr 'let x = a: throw "asdf"; in x 1' --show-trace error: asdf … while evaluating 'x' at «string»:1:9: 1| let x = a: throw "asdf"; in x 1 | ^ … from call site at «string»:1:29: 1| let x = a: throw "asdf"; in x 1 | ^ ``` and yet also: ``` $ nix-instantiate --eval --expr 'let x = a: throw "asdf"; in x' --show-trace <LAMBDA> ``` Here is the thing: in both cases we are evaluating `x`! Nix is a higher-order languages, and functions are a sort of value. When we write `x = a: ...`, `a: ...` is the expression that `x` is being defined to be, and that is already a value. Therefore, we should *never* get an trace that says "while evaluating `x`", because evaluating `a: ...` is *trival* and nothing happens during it! What is actually happening here is we are applying `x` and evaluating its *body* with arguments substituted for parameters. I think the simplest way to say is just "while *calling* `x`", and so that is what I changed it to.
2022-12-02getMaxCPU(): Lower verbosity level for ignored exceptionsEelco Dolstra
Fixes #7268.
2022-12-02Merge pull request #7381 from aakropotkin/doc-ltoa-conflictsValentin Gagarin
doc: listToAttrs: document repeated keys
2022-12-02Clean up cgroup handling in getMaxCPU()Eelco Dolstra
Also, don't assume in LocalDerivationGoal that cgroups are mounted on /sys/fs/cgroup.
2022-12-02Move cgroup.{cc,hh} to libutilEelco Dolstra
2022-12-02Revert "docs: drop shell prompt character for consistency"Eelco Dolstra
This reverts commit c068cce107b94f23c5288521770b2c807729a052 because it makes the docs *less* consistent.
2022-12-01Merge pull request #7251 from RelationalAI-oss/sp-docs-uninstall-promptValentin Gagarin
docs: drop shell prompt character for consistency
2022-12-01encourage adding 👍 to express interestValentin Gagarin
decided on the @NixOS/documentation-team, see NixOS/nix.dev#359 for more information
2022-12-01doc: listToAttrs: add extra whitespaceAlex Ameen
2022-12-01Merge pull request #7386 from edolstra/fix-jsonEelco Dolstra
Really fix 'nix store make-content-addressed --json'
2022-12-01Really fix 'nix store make-content-addressed --json'Eelco Dolstra
https://hydra.nixos.org/log/mcgypcf9vj4n8vdmw7lj3l05c899v73w-nix-2.12.0pre20221201_16b03f0-x86_64-unknown-linux-musl.drv
2022-11-30doc: listToAttrs: fix line wrappingAlex Ameen
2022-12-01refactor rendering documentation of optionsValentin Gagarin
this makes more obvious what the code produces, and the structure of the output easier to change
2022-11-30doc: listToAttrs: document repeated keysAlex Ameen
2022-12-01move documentation on `auto-allocate-uids` to options docsValentin Gagarin
this is where it belongs and can be found together with the other options.