Age | Commit message (Collapse) | Author | Files | Lines |
|
without stable ids on headings we cannot generate stable links to these
headings. nrd complains about this, but the current docbook workflow
does not.
a few generated ids remain, mostly in examples and footnotes. most of
the examples are generated by nixdoc (which has since gained MD export
functions, and the MD export does generate IDs).
|
|
Generating large disk images can fail from out-of-memory in vm-run.
|
|
|
|
|
|
|
|
editorconfig-checker -disable-indent-size **/*.md
|
|
Leftovers from the CommonMark conversion.
|
|
- Extensive documentation in NixOS manual
- Deterministic mode that fixes various identifiers relative to disk
partitions and filesystems in ext4 case
- UEFI variable recording
|
|
... for buildImage, buildLayeredImage and streamLayeredImage,
adding docs and tests.
|
|
The nixpkgs manual contains references to both sri hash and explicit
sha256 attributes. This is at best confusing to new users. Since the
final destination is exclusive use of sri hashes, see nixos/rfcs#131,
might as well push new users in that direction gently.
Notable exceptions to sri hash support are builtins.fetchTarball,
cataclysm-dda, coq, dockerTools.pullimage, elixir.override, and
fetchCrate. None, other than builtins.fetchTarball, are fundamentally
incompatible, but all currently accept explicit sha256 attributes as
input. Because adding backwards compatibility is out of scope for this
change, they have been left intact, but migration to sri format has been
made for any using old hash formats.
All hashes have been manually tested to be accurate, and updates were
only made for missing upstream artefacts or bugs.
|
|
|
|
Match admonition syntax in
https://nixos.org/manual/nixpkgs/unstable/#chap-contributing
|
|
|
|
* add documentation for the pkgs.portableService tool
as introduced in 499aebcf340
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
|
|
dockerTools ca-certificates.crt helper
|
|
Fixes #186752. This adds buildVMMemorySize (defaults to 512 MiB) to
buildImage, which is passed to vm.runInLinuxVM. This is needed for
larger base images, which may otherwise cause container build failures
due to OOM in the VM.
|
|
contents is deprecated now, use the copyToRoot attribute.
|
|
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
|
|
|
|
|
|
|
|
The example snippet will fail with this error as it is not self contained and
assumes `shadowSetup` was given:
$ nix-build docker-image.nix
error: undefined variable 'shadowSetup' at docker-image.nix:20:7
Instead use the full reference to `shadowSetup` in the example so it will work
as stated.
|
|
|
|
Avoid risk of breaking existing images by making it opt-in.
|
|
|
|
We are still using Pandoc’s Markdown parser, which differs from CommonMark spec slightly.
Notably:
- Line breaks in lists behave differently.
- Admonitions do not support the simpler syntax https://github.com/jgm/commonmark-hs/issues/75
- The auto_identifiers uses a different algorithm – I made the previous ones explicit.
- Languages (classes) of code blocks cannot contain whitespace so we have to use “pycon” alias instead of Python “console” as GitHub’s linguist
While at it, I also fixed the following issues:
- ShellSesssion was used
- Removed some pointless docbook tags.
|
|
|
|
dockerTools.streamLayeredImage: add fakeRootCommands option
|
|
ocitools: Update doc to use CommonMark
|
|
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
|
|
dockerTools.buildLayeredImage: support fromImage
|
|
It is now possible to pass a `fromImage` to `buildLayeredImage` and
`streamLayeredImage`, similar to what `buildImage` currently supports.
This will prepend the layers of the given base image to the resulting
image, while ensuring that at most `maxLayers` are used. It will also
ensure that environment variables from the base image are propagated
to the final image.
|
|
Signed-off-by: Bryan A. S <bryanasdev000@gmail.com>
|
|
|
|
|
|
These pollute the plain text and, after re-running `nix-build` and looking at
the result, do not appear to have any impact on the rendered version.
|
|
|
|
Also change note notation
Signed-off-by: Bryan A. S <bryanasdev000@gmail.com>
|
|
Signed-off-by: Bryan A. S <bryanasdev000@gmail.com>
|
|
Need to verify things like `error: IDREF "" without matching ID` and `::: {.note}`
Signed-off-by: Bryan A. S <bryanasdev000@gmail.com>
|
|
By adding prompts and removing unnecessary indentation.
|
|
|
|
|
|
|
|
|
|
|
|
|