Age | Commit message (Collapse) | Author |
|
- 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.
|
|
|
|
|
|
This makes it possible to reference single attribute definitions,
for pointing people to their exact definition.
|
|
|
|
|
|
|
|
|
|
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").
|
|
|
|
|
|
Update man to show that nix-shell allows --arg
|
|
docs: fix upper bound on number of consumed cores
|
|
docs: xref doesn't render in title
|
|
|
|
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.
|
|
|
|
|
|
Remove superfluous IAM action for S3 cache
|
|
`s3:ListObjects` isn't a real IAM action, but _is_ the name of an S3 API method. `s3:ListBucket` is the relevant action for that method.
https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html
|
|
|
|
|
|
This reverts commit d8730fb86facadbef22d3df7f8a743a56e7ed53c.
|
|
|
|
nix-channel documentation: don't suggest deprecated function
|
|
|
|
docs: Note that tryEval doesn't do deep evaluation
|
|
1. remove a typo space
2. Simplify negative style by using affirmative style
|
|
|
|
With the merge of #2582, the syntax "tags/1.9" for refs does not work
anymore.
However, the new syntax "refs/tags/1.9" seems to support annotated tags,
such as "refs/tags/2.0".
Closes #2385.
|
|
|
|
|
|
|
|
|
|
Fix nix-env documentation for --delete-generations
|
|
My attempt at clarifying the docs resulted in a false explanation. This
is now fixed and I added an example to eliminate all possible confusion.
|
|
|
|
|
|
operators: document exact precedence, split up similar operators
|
|
|
|
|
|
installer: handle network proxy in systemd multi-user install
|
|
|
|
|
|
The documentation for `--delete-generations` had an erroneous fullstop
and as it turns out inaccurate information on the `+No.` syntax.
|
|
Expanded documentation for .nix-defexpr
|
|
Track function start and end
|
|
|
|
With this patch, and this file I called `log.py`:
#!/usr/bin/env nix-shell
#!nix-shell -i python3 -p python3 --pure
import sys
from pprint import pprint
stack = []
timestack = []
for line in open(sys.argv[1]):
components = line.strip().split(" ", 2)
if components[0] != "function-trace":
continue
direction = components[1]
components = components[2].rsplit(" ", 2)
loc = components[0]
_at = components[1]
time = int(components[2])
if direction == "entered":
stack.append(loc)
timestack.append(time)
elif direction == "exited":
dur = time - timestack.pop()
vst = ";".join(stack)
print(f"{vst} {dur}")
stack.pop()
and:
nix-instantiate --trace-function-calls -vvvv ../nixpkgs/pkgs/top-level/release.nix -A unstable > log.matthewbauer 2>&1
./log.py ./log.matthewbauer > log.matthewbauer.folded
flamegraph.pl --title matthewbauer-post-pr log.matthewbauer.folded > log.matthewbauer.folded.svg
I can make flame graphs like: http://gsc.io/log.matthewbauer.folded.svg
---
Includes test cases around function call failures and tryEval. Uses
RAII so the finish is always called at the end of the function.
|
|
Make curl's low speed limit configurable via stalled-download-timeout.
Before, this limit was five minutes without receiving a single byte.
This is much too long as if the remote end may not have even
acknowledged the HTTP request.
|