Age | Commit message (Collapse) | Author |
|
With updates in a doc team meeting with Valentin, Silvan and Johannes :)
|
|
* doc: document fetchurl more completely, follow doc conventions
Co-authored-by: Johannes Kirschbauer <hsjobeki+github@gmail.com>
|
|
conventions (#297654)
* doc: improve fetchers overview, deduplicate readme content
* Improve caveat explanation and some fetchurl content
* move out consumer docs on source fetching
* move note on mirror URLs to the relevant section
this may be better suited for the `fetchurl` reference, but it's probably better to
just render that information into the manual. for now, because
- contributor documentation encourages mirrors
- we can expect contributors to dig into the source
- linking source files is trivial in in-code documentation
we leave it there.
* move instructions for updating hashes to the manual
* Add more clarity on text, reorganise source hash methods
---------
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Dominic Mills-Howell <dominic.millz27@gmail.com>
Co-authored-by: lolbinarycat <dogedoge61+github@gmail.com>
|
|
We use angle brackets since they look a lot like a placeholder while
also being valid nix code, as suggested by roberth here: https://github.com/NixOS/nixpkgs/pull/299554#discussion_r1541797970
|
|
This allows for correct highlighting and maybe future automatic
formatting. The AST was verified to work with nixfmt only.
|
|
This should help us with highlighting and future formatting.
|
|
Co-authored-by: seksea <williamireland0@gmail.com>
|
|
trivial-builders: replace writeReferencesToFile with writeClosure
|
|
doc: document makeDesktopItem
|
|
Replace writeReferencesToFile with writeClosure.
Make writeClosure accept a list of paths instead of a path.
Re-implement with JSON-based exportReferencesGraph interface provided by
__structuredAttrs = true.
Reword the documentation.
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
Co-authored-by: Someone Serge <sergei.kozlukov@aalto.fi>
|
|
|
|
snapTools: remove
|
|
I didn't have the opportunity to do all work at once, so I've added
TODOs to bring attention to the situation.
|
|
`snapTools.makeSnap` has produced broken snaps since at least Oct 2020,
as indicated by the following issue: https://github.com/NixOS/nixpkgs/issues/100618
No person has shown interest in maintaining it, and given that there is
no fix available, it's assumed that all attempts made to fix that
function have not succeeded.
Given that `snapTools` only contained `makeSnap`, it was removed
completely.
|
|
|
|
doc: update docs in ociTools, follow doc conventions
|
|
|
|
|
|
* doc/fetchers: document downloadToTemp for fetchurl
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
|
|
dockerTools: configurable compression schema
|
|
This commit adds support for swapping out the compression algorithm
used in all major docker-tools commands that generate images. The
default algorithm remains unchanged (gzip).
|
|
|
|
|
|
doc: update environment helpers in dockerTools docs, add fakeNss section
|
|
|
|
* doc: update dockerTools.exportImage content and use doc conventions
* Apply suggestions from code review
Co-authored-by: Silvan Mosberger <github@infinisil.com>
---------
Co-authored-by: Silvan Mosberger <github@infinisil.com>
|
|
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
|
|
doc: update dockerTools.pullImage content and use doc conventions
|
|
|
|
doc: add missing attribute to example in dockerTools
|
|
* Note on how to use shadowSetup with buildLayeredImage
* Update doc/build-helpers/images/dockertools.section.md
---------
Co-authored-by: Silvan Mosberger <github@infinisil.com>
|
|
|
|
|
|
doc: update content on dockerTools.buildImage and follow doc conventions
|
|
doc: add section about mkShellNoCC
|
|
|
|
|
|
multiple example sections, test first writeTextFile example (it was broken, heh) and fix, move prose out of code blocks
|
|
Co-authored-by: Alexander Groleau <alex@proof.construction>
|
|
Co-authored-by: Alexander Groleau <alex@proof.construction>
|
|
|
|
|
|
|
|
|
|
|
|
https://github.com/NixOS/nixpkgs/pull/277534/files#r1450959283
|
|
https://github.com/NixOS/nixpkgs/pull/277534#discussion_r1450778530
|
|
Co-authored-by: Brian Merchant <bzm3r@proton.me>
|
|
|
|
|