Commit Graph

416 Commits

Author SHA1 Message Date
R. Ryantm
a89130bd5a nixdoc: 3.0.1 -> 3.0.2 2024-03-12 02:14:54 +00:00
github-actions[bot]
21588b3902
Merge master into haskell-updates 2024-03-06 00:12:50 +00:00
Jade Lovelace
a07dd748d9 nixos-option: update to nix 2.18
This utility has horrendous code quality, partially due to nix's fault,
and really desperately needs to be rewritten, hopefully to not use the
nix C++ API. Either use the Python bindings to the Nix C API when the
Nix team merges the C API, or just write a clever bit of Nix script to
extract the data from a config, turn it into json, then process it into
good output in a CLI wrapper.

It currently does not support flakes and has many other issues.
(in my testing it did not accept -I nixos-path, it exploded due to
having plugins in /etc/nix/nix.conf with no way to override that, among
other breakage that simply does not exist in the Nix CLI).
2024-03-05 09:14:43 -08:00
github-actions[bot]
a1ed79952d
Merge master into haskell-updates 2024-03-01 00:14:10 +00:00
Sandro Jäckel
2429bde882 nix-init: unpin libgit2 2024-02-29 18:54:37 +01:00
github-actions[bot]
47e7b83fd1
Merge master into haskell-updates 2024-02-29 00:12:06 +00:00
R. Ryantm
6010c3009c nixdoc: 2.7.0 -> 3.0.1 2024-02-28 02:08:47 +00:00
github-actions[bot]
1e13dfffc6
Merge master into haskell-updates 2024-02-08 00:12:04 +00:00
Sandro
6915e80f85
Merge pull request #280617 from IogaMaster/manix-nix-community-edition
manix: 0.7.1 -> 0.8.0
2024-02-07 17:45:35 +01:00
github-actions[bot]
b0233d387c
Merge master into haskell-updates 2024-01-30 00:12:10 +00:00
Johannes Kirschbauer
48a2178434 adds block_args for autogenerated ids from trustworthy sources 2024-01-29 22:29:39 +01:00
IogaMaster
a44c757bb7
manix: 0.7.1 -> 0.8.0
https://github.com/nix-community/manix

Update pkgs/by-name/ma/manix/package.nix

Co-authored-by: bryango <bryango@users.noreply.github.com>

Update pkgs/by-name/ma/manix/package.nix

Co-authored-by: bryango <bryango@users.noreply.github.com>
2024-01-29 10:48:55 -07:00
maralorn
545bd8594d nix-output-monitor: 2.1.1 -> 2.1.2 2024-01-26 00:44:23 +01:00
github-actions[bot]
065e28482b
Merge master into staging-next 2024-01-04 18:00:54 +00:00
Sandro Jäckel
c03feb2a7e
nixos-option: set meta.mainProgram 2024-01-03 23:42:56 +01:00
Sandro Jäckel
e2702f5aee
treewide: don't use python3Minimal where it is not required
Building a python environment with python3Minimal requires hydra
to bootstrap pip and build all packages used in the environment
which would otherwise not be built. This reduces cache re-use and duplicates things.

Also common dependencies normally included in python itself
are not properly checked and can cause hard to debug errors
because everyone just assumes those modules are there.
2023-12-21 02:21:48 +01:00
Nick Cao
ee7cca0fbd
Merge pull request #273672 from onemoresuza/nixpkgs-hammering
nixpkgs-hammering: unstable-2023-03-09 -> unstable-2023-11-06
2023-12-19 12:00:09 -05:00
R. Ryantm
5d0dc445db nixdoc: 2.6.0 -> 2.7.0 2023-12-17 06:40:29 +00:00
R. Ryantm
77172b88f6 fh: 0.1.8 -> 0.1.9 2023-12-14 22:30:03 +00:00
Gustavo Coutinho de Souza
0678d2eaa0
nixpkgs-hammering: unstable-2023-03-09 -> unstable-2023-11-06 2023-12-11 21:20:38 -03:00
pennae
548f98f4fb nixos-render-docs: wrap code in <pre><code>, not <pre>
newer hljs stylesheets work best with <pre><code> wrapping, and it's
semantically more accurate as well.
2023-12-01 18:31:41 +01:00
pennae
229e6eb8ed nixos-render-docs: don't drop code languages anymore
this was needed because the nixos/nixpkgs manuals, for some
reason, *did* drop the languages. we no longer have to render exactly as
the docbook toolchain did, so we can finally fix this bug.
2023-12-01 18:20:24 +01:00
figsoda
9eeeb192fb
Merge pull request #268414 from figsoda/fh
fh: 0.1.7 -> 0.1.8
2023-11-27 17:38:31 -05:00
maralorn
ce89133d42
Merge pull request #270161 from maralorn/bump-nom
nix-output-monitor: 2.0.0.7 -> 2.1.1
2023-11-27 13:39:26 +01:00
maralorn
98a0153ced nix-output-monitor: 2.0.0.7 -> 2.1.1 2023-11-27 10:30:42 +01:00
Valentin Gagarin
0efe7d42dc
Merge pull request #269942 from considerate/nixos-render-docs-header 2023-11-26 19:35:23 +01:00
Viktor Kronvall
98ba0aed73 nixos-render-docs: header and footer as list[str] 2023-11-26 01:44:06 +09:00
Viktor Kronvall
9bfa2e36a2 nixos-render-docs: take header and footer on CLI
This commit generalizes nixos-render-docs for manpage generation
to take the header preamble and footer postscript as file paths
as CLI flags --header and --footer.
2023-11-26 01:44:06 +09:00
pennae
14d4491000 nixos-render-docs: fix mypy test
markdown-it-py somewhat recently added more type annotations to their
code, obsoleting a few lint-ignores in nrd.
2023-11-25 16:15:45 +01:00
Artturi
fc40f07447
Merge pull request #260061 from lecoqjacob/update-manix 2023-11-21 00:47:59 +02:00
Jonas Chevalier
c57a434386
maintainers: remove the numtide team (#268684)
It doesn't really make sense for us as team members are focused on
different things. At the end of the day it's the individuals that do the
work.
2023-11-20 22:27:26 +01:00
figsoda
693025dbcf fh: 0.1.7 -> 0.1.8
Diff: https://github.com/DeterminateSystems/fh/compare/v0.1.7...v0.1.8

Changelog: https://github.com/DeterminateSystems/fh/releases/tag/v0.1.8
2023-11-18 19:52:23 -05:00
Silvan Mosberger
4b8521c493 nixdoc: 2.5.1 -> 2.6.0, add infinisil as maintainer 2023-11-18 23:34:52 +01:00
Jacob LeCoq
cae1529706
manix: 0.6.3 -> 0.7.1
use hash instead of sha256

Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>
2023-11-16 10:58:18 -06:00
Lorenzo Manacorda
eedc941361 nixdoc: 2.4.0 -> 2.5.1 2023-11-02 16:31:57 +01:00
0x4A6F
a990f74cf8
treewide: sha256 -> hash (#262801)
* tumpa: sha256 -> hash

* qubes-core-vchan-xen: sha256 -> hash

* qdmr: sha256 -> hash

* w_scan2: sha256 -> hash

* libcdada: sha256 -> hash

* eidolon: sha256 -> hash

* freenukum: sha256 -> hash

* promscale: sha256 -> hash

* tacacsplus: sha256 -> hash

* blflash: sha256 -> hash

* silicon: sha256 -> hash

* nethoscope: sha256 -> hash

* pmacct: sha256 -> hash

* tayga: sha256 -> hash

* alejandra: sha256 -> hash

* igrep: sha256 -> hash

* cwm: sha256 -> hash

* dasel: sha256 -> hash
2023-10-23 00:38:33 +02:00
Alyssa Ross
acf111d42b
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/python-modules/flask-wtf/default.nix
	pkgs/development/python-modules/unstructured-inference/default.nix
	pkgs/development/python-modules/unstructured/default.nix
	pkgs/development/python-modules/velbus-aio/default.nix
2023-10-17 13:05:40 +00:00
Domen Kožar
c320c78c72
Merge pull request #254996 from srid/nixci2
nixci: 0.1.3 -> 0.2.0
2023-10-17 08:43:23 +01:00
github-actions[bot]
c61915bc96
Merge master into staging-next 2023-10-17 06:01:22 +00:00
figsoda
563cdddd67 fh: 0.1.6 -> 0.1.7
Diff: https://github.com/DeterminateSystems/fh/compare/v0.1.6...v0.1.7

Changelog: https://github.com/DeterminateSystems/fh/releases/tag/v0.1.7
2023-10-16 21:36:44 -03:00
Weijia Wang
f0e1ff90d5 Merge branch 'master' into staging-next 2023-10-08 20:10:26 +02:00
R. Ryantm
fb26673645 fh: 0.1.5 -> 0.1.6 2023-10-08 15:03:06 +00:00
Vladimír Čunát
fa7835846a
Merge branch 'master' into staging-next 2023-10-04 22:40:54 +02:00
Sridhar Ratnakumar
61f9f97d9a devour-flake: remove package
The package is no longer used by other packages. The 'nixci' package
used it until version 0.2.0.
2023-09-27 10:15:25 -04:00
Sridhar Ratnakumar
bc477a777b nixci: 0.1.3 -> 0.2.0 2023-09-27 10:14:38 -04:00
pennae
e11cac622e nixos-render-docs: fix tests for markdown-it-py 3
parsing of escaped text has changed internally, but apart from Token
field contents that we only inspect in tests the change is *mostly*
invisible to us. some bits of documentation now parse differently and
need to be adjusted, but those were slightly questionable to begin with.
2023-09-27 15:35:23 +02:00
github-actions[bot]
9290456dd6
Merge master into haskell-updates 2023-09-27 00:12:00 +00:00
lassulus
87a1136163 nixos-generators: 1.7.0 -> 1.8.0 2023-09-26 20:28:46 +02:00
github-actions[bot]
8d865daa72
Merge master into haskell-updates 2023-09-22 00:11:39 +00:00
figsoda
7096c7760f fh: 0.1.4 -> 0.1.5
Diff: https://github.com/DeterminateSystems/fh/compare/v0.1.4...v0.1.5

Changelog: https://github.com/DeterminateSystems/fh/releases/tag/v0.1.5
2023-09-19 13:40:45 -04:00
github-actions[bot]
b18d223aa0
Merge master into haskell-updates 2023-09-18 00:11:58 +00:00
Nick Cao
9cfea63560
Merge pull request #255539 from figsoda/init
nix-init: 0.2.4 -> 0.3.0
2023-09-17 09:51:52 -04:00
Fabián Heredia Montiel
df5cf7a1eb
Merge pull request #255302 from figsoda/fh
fh: 0.1.3 -> 0.1.4
2023-09-17 01:53:33 -06:00
maralorn
ad19d330aa
nix-output-monitor: 2.0.0.6 -> 2.0.0.7 2023-09-17 04:02:15 +02:00
figsoda
05a7bfedfd nix-init: 0.2.4 -> 0.3.0
Diff: https://github.com/nix-community/nix-init/compare/v0.2.4...v0.3.0

Changelog: https://github.com/nix-community/nix-init/blob/v0.3.0/CHANGELOG.md
2023-09-16 17:28:04 -04:00
Andreas Rammhold
0cb97ca344 npins: 0.2.0 -> 0.2.2
The update mostly updates cargo dependencies that had lurking security
issues in various parts of the TLS implementations.
2023-09-16 12:23:10 +02:00
figsoda
676f94431d fh: 0.1.3 -> 0.1.4
Diff: https://github.com/DeterminateSystems/fh/compare/v0.1.3...v0.1.4
2023-09-15 10:12:11 -04:00
figsoda
9998770cf5 gridlock: unstable-2023-03-03 -> unstable-2023-08-29
Diff: 15261abdb1...a98abfa554
2023-09-13 11:36:40 -04:00
Fabián Heredia Montiel
ff323ed355 treewide: vendorSha256 → vendorHash
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
2023-09-13 01:03:44 -06:00
Sam A. Horvath-Hunt
9be01e3f14
statix: 0.5.6 -> 0.5.8 2023-09-09 12:42:23 +01:00
Nick Cao
b07086851b
Merge pull request #253200 from figsoda/zon
zon2nix: 0.1.1 -> 0.1.2
2023-09-05 08:04:40 -04:00
figsoda
954a416000 fh: 0.1.2 -> 0.1.3
Diff: https://github.com/DeterminateSystems/fh/compare/v0.1.2...v0.1.3
2023-09-04 15:05:15 -04:00
figsoda
a0463e87b3 zon2nix: 0.1.1 -> 0.1.2
Diff: https://github.com/nix-community/zon2nix/compare/v0.1.1...v0.1.2

Changelog: https://github.com/nix-community/zon2nix/blob/v0.1.2/CHANGELOG.md
2023-09-03 19:35:01 -04:00
figsoda
cae006e4d0 fh: 0.1.1 -> 0.1.2
Diff: https://github.com/DeterminateSystems/fh/compare/v0.1.1...v0.1.2
2023-09-01 17:59:16 -04:00
figsoda
da2da3adce fh: init at 0.1.1
https://github.com/DeterminateSystems/fh
2023-09-01 18:35:02 +00:00
Doron Behar
62730f2c31
Merge pull request #248701 from doronbehar/nixos/manpages
nixos/install-tools: Add manpages to packages instead of seperating them
2023-08-16 15:49:49 +00:00
Doron Behar
924a07dc22 nixos/doc: Improve documentation of documentation
- Move contents of README.md from
  nixos/modules/installer/tools/manpages/ to
  nixos/doc/manual/contributing-to-this-manual.chapter.md.
- Don't mention DocBook as its obsolete and too specific.
- Rename derivation attribute name of configuration.nix(5) manual page,
  both on the `contributing-to-this-manual.chapter.md`, and in other
  places.
2023-08-12 22:28:04 +03:00
Doron Behar
32f75a0f2a nixos/install-tools: Add manpages to packages instead of seperating them
Since each such `nixos-*` tool has it's own derivation, exposed in pkgs,
There is no point in separating the manuals from the packages. If
someone wishes to have the tools without the manuals, they can use
meta.outputsToInstall to disable the installation of the manpages of
these packages. This Fixes #244450.
2023-08-12 18:01:06 +03:00
Doron Behar
9d0bb6e67a nixos-option: Include manual page in the package 2023-08-12 12:57:16 +03:00
figsoda
f61f084d62 zon2nix: init at 0.1.1
https://github.com/figsoda/zon2nix
2023-08-09 22:42:01 -04:00
github-actions[bot]
462b4c7567
Merge master into staging-next 2023-08-07 18:01:16 +00:00
pennae
6fca6f9d5b
Merge pull request #246996 from pennae/nrd-empty-inlines
nixos-render-docs: fix empty inlines
2023-08-07 19:25:07 +02:00
figsoda
add32c92e7 nix-init: use libgit2_1_6 2023-08-07 10:20:31 -04:00
zowoq
d886e44d9b statix: add meta.mainProgram 2023-08-05 13:08:04 +10:00
0x4A6F
30392d5c2f
Merge pull request #246982 from khaneliman/nixpkgs-fmt
nixpkgs-fmt: add meta.mainProgram
2023-08-03 19:54:11 +02:00
pennae
9c0803f84d nixos-render-docs: fix empty inlines
`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-03 18:36:34 +02:00
Austin Horstman
c69ea1f29a
nixpkgs-fmt: add meta.mainProgram 2023-08-03 10:37:50 -05:00
Austin Horstman
9f77d92ba9
alejandra: add meta.mainProgram 2023-08-03 08:32:46 -05:00
Lorenzo Manacorda
38a927f1fb nixdoc: 2.3.0 -> 2.4.0 2023-07-31 16:55:45 +02:00
Silvan Mosberger
a7e5800273
Merge pull request #243062 from mobusoperandi/doc_watchexec
nixpkgs/NixOS manuals: devmode feature
2023-07-27 16:11:18 +02:00
Pol Dellaiera
478c0fd0a4
Merge pull request #244487 from srid/nixci
nixci: init at 0.1.3
2023-07-27 14:38:18 +02:00
figsoda
5d4857463a pkgs/tools/nix: remove dead code 2023-07-25 12:12:18 -04:00
Sridhar Ratnakumar
5950a71f62 devour-flake: init at 2 2023-07-25 11:22:28 -04:00
Sridhar Ratnakumar
3d1b68c445 nixci: init at 0.1.3 2023-07-25 11:22:28 -04:00
Shahar "Dawn" Or
a064709342 nixpkgs/NixOS manuals: devmode feature
Co-authored-by: Alejandro Sanchez Medina <alejandrosanchzmedina@gmail.com>
2023-07-25 17:03:15 +07:00
Emily
775f683a5a nixos-option: fix expression position calculation
This was causing null pointer dereferences. Pattern copied from Nix
source code.
2023-07-13 23:00:19 +01:00
Emily
7959a16c19 nixos-option: use C++20
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-13 08:25:28 +10:00
Sandro
f57af4cd1e
Merge pull request #237442 from SuperSandro2000/nixos-option
nixos-option: update to nix 2.15
2023-07-12 00:14:53 +02:00
Sandro Jäckel
38e917e4bf
nixos-option: update to nix 2.15
Co-authored-by: tropf <29873239+tropf@users.noreply.github.com>
2023-07-11 17:13:21 +02:00
figsoda
151b1854f6 nix-init: 0.2.3 -> 0.2.4
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-06 18:34:04 -04:00
pennae
be4d19ff1a doc: render nixpkgs manual with nrd
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-01 20:59:29 +02:00
pennae
538b3d1b3c nixos-render-docs: add footnote support
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-01 20:27:29 +02:00
pennae
ac7be1f106 nixos-render-docs: add support for tables 2023-07-01 20:27:29 +02:00
pennae
8fb4cf8b7c nixos-render-docs: add support for figures 2023-07-01 20:27:29 +02:00
pennae
e5e738b72a nixos-render-docs: genericize block numbering
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-01 20:27:29 +02:00
pennae
8c2d14a6b8 nixos-render-docs: add image support
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-01 20:27:28 +02:00
pennae
b962ff92ff nixos-render-docs: add support for section tocs
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-01 18:21:16 +02:00
pennae
2bf3bb4f6b nixos-render-docs: hide nav headers/footers if not needed
there's not point in rendering these if we're rendering to a single file
for all content.
2023-07-01 17:31:29 +02:00
pennae
effbaf0ab4 nixos-render-docs: maybe omit link target files
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-01 17:31:29 +02:00
pennae
8c33134465 nixos-render-docs: don't double-escape link titles 2023-07-01 17:31:29 +02:00