about summary refs log tree commit diff
path: root/pkgs/tools/nix
AgeCommit message (Collapse)AuthorFilesLines
2023-08-07Merge master into staging-nextgithub-actions[bot]2-2/+2
2023-08-07Merge pull request #246996 from pennae/nrd-empty-inlinespennae2-2/+2
nixos-render-docs: fix empty inlines
2023-08-07nix-init: use libgit2_1_6figsoda1-2/+2
2023-08-05statix: add meta.mainProgramzowoq1-0/+1
2023-08-03Merge pull request #246982 from khaneliman/nixpkgs-fmt0x4A6F1-0/+1
nixpkgs-fmt: add meta.mainProgram
2023-08-03nixos-render-docs: fix empty inlinespennae2-2/+2
`children` only has to be not-None, not also not-[]. empty table cells would can produce an empty inline token and cause these checks to fail, even though the token actually is totally valid. showed up in https://github.com/NixOS/nixpkgs/pull/246956#discussion_r1283146120.
2023-08-03nixpkgs-fmt: add meta.mainProgramAustin Horstman1-0/+1
2023-08-03alejandra: add meta.mainProgramAustin Horstman1-0/+1
2023-07-31nixdoc: 2.3.0 -> 2.4.0Lorenzo Manacorda1-5/+5
2023-07-27Merge pull request #243062 from mobusoperandi/doc_watchexecSilvan Mosberger1-0/+117
nixpkgs/NixOS manuals: devmode feature
2023-07-27Merge pull request #244487 from srid/nixciPol Dellaiera2-0/+65
nixci: init at 0.1.3
2023-07-25pkgs/tools/nix: remove dead codefigsoda5-7/+5
2023-07-25devour-flake: init at 2Sridhar Ratnakumar2-10/+30
2023-07-25nixci: init at 0.1.3Sridhar Ratnakumar1-0/+45
2023-07-25nixpkgs/NixOS manuals: devmode featureShahar "Dawn" Or1-0/+117
Co-authored-by: Alejandro Sanchez Medina <alejandrosanchzmedina@gmail.com>
2023-07-13nixos-option: fix expression position calculationEmily1-1/+1
This was causing null pointer dereferences. Pattern copied from Nix source code.
2023-07-13nixos-option: use C++20Emily1-1/+1
Nix uses `-std=c++2a` and the header files require C++20 features. LLVM is more strict about this, so the build was failing there.
2023-07-12Merge pull request #237442 from SuperSandro2000/nixos-optionSandro4-57/+70
nixos-option: update to nix 2.15
2023-07-11nixos-option: update to nix 2.15Sandro Jäckel4-57/+70
Co-authored-by: tropf <29873239+tropf@users.noreply.github.com>
2023-07-06nix-init: 0.2.3 -> 0.2.4figsoda1-9/+7
Diff: https://github.com/nix-community/nix-init/compare/v0.2.3...v0.2.4 Changelog: https://github.com/nix-community/nix-init/blob/v0.2.4/CHANGELOG.md
2023-07-01doc: render nixpkgs manual with nrdpennae2-329/+6
also updates nixdoc to 2.3.0. the nixdoc update is not a separate commit because that would leave the manual build broken for one commit, potentially breaking bisects and rebases.
2023-07-01nixos-render-docs: add footnote supportpennae5-0/+132
this is only used in the stdenv chapter, but footnotes could be useful in other places as well. since markdown-it has a plugin to parse footnote syntax we may as well just support them even if they're rare.
2023-07-01nixos-render-docs: add support for tablespennae3-0/+114
2023-07-01nixos-render-docs: add support for figurespennae4-20/+73
2023-07-01nixos-render-docs: genericize block numberingpennae2-19/+26
examples and figures behave identically regarding numbering and titling, they just don't share a common number space. make the numbering/titling function generic over block types now so figures can just use it.
2023-07-01nixos-render-docs: add image supportpennae6-8/+70
currently only supported for html. docbook could also support images, but it's on the way out for manual generation anyway so we won't add image support there. options docs can't use images because they also target manpages, which leaves no viable users.
2023-07-01nixos-render-docs: add support for section tocspennae1-11/+25
the nixpkgs manual uses section tocs for eg the nixpkgs library function reference. we will only not emit tocs for subsections at this point, but maybe we should consider doing so in the future.
2023-07-01nixos-render-docs: hide nav headers/footers if not neededpennae1-28/+38
there's not point in rendering these if we're rendering to a single file for all content.
2023-07-01nixos-render-docs: maybe omit link target filespennae2-2/+21
docbook always emits intra-file links if only a single file is emitted. it doesn't seem to do this for intra-file links when multiple files are emitted, so we don't do that yet either.
2023-07-01nixos-render-docs: don't double-escape link titlespennae1-1/+2
2023-06-28nixos/manual: fix html `<p>` tag closurePol Dellaiera1-1/+1
2023-06-26nixos-render-docs: add missing head tag to html outputpennae1-1/+2
2023-06-22nixpkgs-lint-community: init at 0.3.0figsoda1-0/+26
https://github.com/nix-community/nixpkgs-lint
2023-06-19Merge pull request #237557 from pennae/dedocbookify-nixospennae3-109/+28
nixos/doc: dedocbookify
2023-06-14nixos-render-docs: De-lint using `ruff --fix`Victor Engmark13-28/+18
This automated de-linting has applied a few different refactors: - Remove unused imports and variables - Change f-strings with no variables to regular strings - Remove trailing semicolon
2023-06-13nixos-render-docs: default to markdown for optionspennae3-73/+23
docbook is now gone and we can flip the defaults. we won't keep the command line args around (unlike the make-options-docs argument) because nixos-render-docs should not be considered an exposed API.
2023-06-13nixos-render-docs: remove literalDocBook supportpennae1-36/+5
with literalDocBook itself gone we can also remove the support code in nixos-render-docs.
2023-05-29gridlock: init at unstable-2023-03-03figsoda1-0/+45
https://github.com/lf-/gridlock
2023-05-14nix-output-monitor: 2.0.0.5 -> 2.0.0.6maralorn2-15/+12
* Small improvements in error reporting. * Significant performance improvements.
2023-05-14nix-output-monitor: comment and cleanupmaralorn1-2/+6
2023-05-10Merge pull request #229113 from aschmolck/fix-nix-info-helpJohn Ericson1-3/+8
Fix nix-info --help to exit 0
2023-05-06treewide: switch builtins.fromJSON(builtins.readFile ./file.json) to ↵Sandro Jäckel2-2/+2
lib.importJSON ./file.json #2
2023-05-03nixos-render-docs: add examples supportpennae6-21/+159
the nixos manual contains enough examples to support them as a proper toc entity with specialized rendering, and if in the future the nixpkgs wants to use nixos-render-docs we will definitely have to support them. this also allows us to restore some examples that were lost in previous translation steps because there were too few to add renderer support back then.
2023-04-30nix-info: fix nix-info --help to exit 0Alexander Schmolck1-3/+8
Previously, --help and -h were treated like an invalid argument.
2023-04-29nix-init: 0.2.2 -> 0.2.3figsoda1-3/+3
Diff: https://github.com/nix-community/nix-init/compare/v0.2.2...v0.2.3 Changelog: https://github.com/nix-community/nix-init/blob/v0.2.3/CHANGELOG.md
2023-04-26nix-melt: init at 0.1.2figsoda1-0/+40
2023-04-23nix-init: 0.2.1 -> 0.2.2figsoda1-7/+9
Diff: https://github.com/nix-community/nix-init/compare/v0.2.1...v0.2.2 Changelog: https://github.com/nix-community/nix-init/blob/v0.2.2/CHANGELOG.md
2023-04-17nixpkgs-hammering: unstable-2022-11-15 -> unstable-2023-03-09figsoda1-4/+4
Diff: https://github.com/jtojnar/nixpkgs-hammering/compare/1b038ef38fececb39b65a4cdfa7273ed9d9359b4...243b81c687aac33d6716957c0cd2235c81631044
2023-03-27Merge remote-tracking branch 'origin/master' into haskell-updatesDennis Gosnell2-1/+316
2023-03-26tree-wide: convert rust with git deps to importCargoLockYureka2-1/+316