Commit graph

452712 commits

Author SHA1 Message Date
Weijia Wang
1c1a42f410
Merge pull request #215321 from r-ryantm/auto-update/python310Packages.browser-cookie3
python310Packages.browser-cookie3: 0.16.5 -> 0.17.0
2023-02-08 16:49:09 +01:00
Jörg Thalheim
10d5d6196a
Merge pull request #213601 from SuperSandro2000/envfs-wsl
nixos/envfs: use configured environment.usrbinenv and environment.binsh, add extraFallbackPath options
2023-02-08 16:43:39 +01:00
Weijia Wang
e7ee36d0b2
Merge pull request #215299 from anthonyroussel/yubico-piv-tool_2_3_1
yubico-piv-tool: 2.3.0 -> 2.3.1
2023-02-08 16:40:39 +01:00
figsoda
263a15e1c2
Merge pull request #215320 from arjan-s/oh-my-posh-14.2.3
oh-my-posh: 13.8.0 -> 14.2.3
2023-02-08 10:24:49 -05:00
R. Ryantm
a8ffe91624 python310Packages.browser-cookie3: 0.16.5 -> 0.17.0 2023-02-08 14:56:57 +00:00
ajs124
69de4ddc4b
Merge pull request #212190 from helsinki-systems/mariadb_105_ossl3
mariadb_1010: init at 10.10.2
2023-02-08 15:53:02 +01:00
Sandro Jäckel
1c664befd4
nixos/envfs: add extraFallbackPathCommands options
this is mainly useful for restricted platforms like wsl which require
some extra entries in /bin/
2023-02-08 15:52:38 +01:00
Doron Behar
80e9706f5f
Merge pull request #215237 from r-ryantm/auto-update/zoom-us
zoom-us: 5.13.5.431 -> 5.13.7.683
2023-02-08 16:51:15 +02:00
Arjan Schrijver
cc08236d06 oh-my-posh: 13.8.0 -> 14.2.3
Diff: https://github.com/jandedobbeleer/oh-my-posh/compare/refs/tags/v13.8.0...v14.2.3

Changelog: https://github.com/JanDeDobbeleer/oh-my-posh/releases/tag/v14.2.3
2023-02-08 15:36:11 +01:00
Weijia Wang
d13b0f290c
Merge pull request #215308 from r-ryantm/auto-update/python310Packages.pontos
python310Packages.pontos: 23.2.0 -> 23.2.4
2023-02-08 15:29:42 +01:00
pennae
702e1fc743 nixos-render-docs: add all-features manpage renderer test
now that the renderer produces the output we want to keep for the future
we can add a test that checks all of its features. this test notably
does not include markdown headings since we don't want to have those in
manpages (at least right now), but tests for other converters may add
headings for themselves.
2023-02-08 15:23:34 +01:00
pennae
78052a22cb nixos-render-docs: track links in manpages
for the longest time we completely dropped link targets in
configuration.nix.5.  let's stop doing this now and instead provide a
footnote for each link in a given option, numbered locally per option.

we will currently duplicate the link for <labelless-links> because it
makes it easier to get the collection of all links in a given option.
this may not be useful enough, so over time we might decide to drop the
footnotes for such links.
2023-02-08 15:23:34 +01:00
pennae
3c7fd940ba nixos-render-docs: indent and embolden list item heads in manpages
this matches what html outputs do more closely, and feels like it'll be
easier to read because it looks less like just another paragraph.
2023-02-08 15:23:34 +01:00
pennae
f47adfcb6f nixos-render-docs: make manpage deflists a little nicer
indent the entire list by 4, just like each definition is already
indented by 4. this matches rendering in html, which indents terms once
and indents definitions twice.
2023-02-08 15:23:34 +01:00
pennae
1e4bafdbc5 nixos-render-docs: style file literals in manpages
similar to inline code these were indistinguishale from other text.
render then in italic font instead, like mdoc .Pa does.
2023-02-08 15:23:34 +01:00
pennae
29252d1477 nixos-render-docs: add quotes to inline code in manpages
other output types already have markings for inline code, manpages do
not. this can be somewhat confusing, so we'll do the least intrusive
thing: surrounding inline code blocks in ‘’. doing so separates inline
code from the rest of the text and is unlikely to collide with the
quoted contents. it's also what mdoc does with its Ql macro.
2023-02-08 15:23:34 +01:00
pennae
f33e360f67 nixos-render-docs: remove the ... escape in manpages
this is a holdover from docbook stylesheets. not really sure why they
did that.
2023-02-08 15:23:34 +01:00
pennae
3a3274231e nixos-render-docs: always render links bold in manpages
no reason to differentiate between links by source of their label. this
feature seems to be mostly used to change labels of links to other
options, but this should ultimately be done by auto-linking from
{option}`...`. at some point we may want to introduce a warning when
this pattern is encountered, but there's a lot to work out still before
we can do that.
2023-02-08 15:23:34 +01:00
pennae
5c5dadd382 nixos-render-docs: support compact lists in manpages
most of the lists in option docs are actually compact, but docbook to
manpage processing always rendered them as non-compact. compactifying
these lists improves readability somewhat since most lists and their
contents are pretty short.
2023-02-08 15:23:34 +01:00
pennae
10a4f0daca nixos-render-docs: add options manpage converter
mdoc is just too slow to render on groff, and semantic markup doesn't
help us any for generated pages.

this produces a lot of changes to configuration.nix.5, but only few
rendering changes. most of those seem to be place losing a space where
docbook emitted roff code that did not faithfully represent the input
text, though a few places also gained space where docbook dropped them.
notably we also don't need the compatibility code docbook-xsl emitted
because that problem was fixed over a decade ago.

this will handle block quotes, which the docbook stylesheets turned into
a mess of roff requests that ended up showing up in the output instead
of being processed.
2023-02-08 15:23:34 +01:00
pennae
56f1d99b16 nixos-render-docs: factor out sorting of options list 2023-02-08 15:23:34 +01:00
pennae
b2a5b4d789 nixos-render-docs: move list-is-compact attr to meta
Token.attr is a dict[str, str | int | float], meta has no restriction on
the value type. attrs is ostensibly meant for html attributes, meta for
any information whatsoever.
2023-02-08 15:23:34 +01:00
pennae
09411102f6 nixos-render-docs: add option block separators
this will be necessary for manpages, which separate option declarations
not with external tags but by interspersing mandoc spacing instructions.
2023-02-08 15:23:34 +01:00
pennae
32136b1b01 nixos-render-docs: don't render empty descriptions at all 2023-02-08 15:23:34 +01:00
pennae
11daebd2d9 nixos-render-docs: add block and inline joiners
these work together with render and renderInline to produce an output
from either of the two. rendering manpages will need both: to join
blocks with newlines, and to run some postprocessing and the rendered inlines.
2023-02-08 15:23:34 +01:00
pennae
5a5255983b nixos-render-docs: calculate list end indices
that'll be useful to calculate the width of list item heads, which we'll
ned to render manpages.
2023-02-08 15:23:34 +01:00
pennae
8fe19590c3 nixos/make-options-doc: fix related packages link label
the pkgs path literal surely shouldn't include the title, right?
2023-02-08 15:23:34 +01:00
pennae
bf4c0c1900 nixos/*: remove trailing period in mkEnableOptions
those are added by mkEnableOption, and .. is replaced to … by markdown
processing.
2023-02-08 15:23:34 +01:00
pennae
2f9d71afdb nixos/x11: fix some docs links
the docbook stylesheets duplicated the target of these untitled links
into their label, but we should do that in markdown instead.
2023-02-08 15:23:34 +01:00
pennae
edccae739a nixos-render-docs: add a test for running mypy
pulling mypy into the build closure is unfortunately not reasonable, the
closure for mypy is rather large and takes a long time to build. if we
have the type checks hooked into CI we'll get most of the benefit though.
2023-02-08 15:23:34 +01:00
Sandro
62b965c135
Merge pull request #215274 from superherointj/fix-cryptodev
cryptodev: unpin kernel
2023-02-08 15:23:02 +01:00
Weijia Wang
8e2666a5a8
Merge pull request #215305 from r-ryantm/auto-update/python310Packages.requests-aws4auth
python310Packages.requests-aws4auth: 1.2.1 -> 1.2.2
2023-02-08 15:22:50 +01:00
Weijia Wang
6b5a3cda27
Merge pull request #215300 from elohmeier/watchfiles-darwin
python3Packages.watchfiles: fix build on Darwin
2023-02-08 15:14:14 +01:00
K900
6bf8f2bf1f
Merge pull request #215307 from K900/kio-admin
kio-admin: add meta
2023-02-08 17:13:39 +03:00
Weijia Wang
2d31960dab
Merge pull request #215302 from r-ryantm/auto-update/exploitdb
exploitdb: 2022-11-22 -> 2023-02-03
2023-02-08 15:04:26 +01:00
R. Ryantm
7932c9c055 python310Packages.pontos: 23.2.0 -> 23.2.4 2023-02-08 13:42:51 +00:00
markuskowa
9313ae3ba5
Merge pull request #214924 from sheepforce/meep
meep: init at 1.25.0
2023-02-08 14:40:34 +01:00
K900
85dac16ffb kio-admin: add meta 2023-02-08 16:37:47 +03:00
K900
666ae72408
Merge pull request #215276 from K900/kio-admin
kio-admin: init at 1.0.0
2023-02-08 16:34:53 +03:00
R. Ryantm
655b5be0ce python310Packages.requests-aws4auth: 1.2.1 -> 1.2.2 2023-02-08 13:16:07 +00:00
Enno Richter
4d89637b5d python3Packages.watchfiles: fix build on Darwin 2023-02-08 13:51:00 +01:00
R. Ryantm
b4b4d8db8d exploitdb: 2022-11-22 -> 2023-02-03 2023-02-08 12:49:53 +00:00
Weijia Wang
b0a25c439d
Merge pull request #215277 from fabaff/aiohomekit-bump
python310Packages.aiohomekit: 2.4.6 -> 2.5.0
2023-02-08 13:47:14 +01:00
Weijia Wang
a7433e205f
Merge pull request #215278 from fabaff/peaqevcore-bump
python310Packages.peaqevcore: 11.1.2 -> 11.2.0
2023-02-08 13:45:52 +01:00
Weijia Wang
df1dabe98e
Merge pull request #215294 from r-ryantm/auto-update/hyperrogue
hyperrogue: 12.1h -> 12.1i
2023-02-08 13:43:24 +01:00
Mario Rodas
a7eb28e8b6
Merge pull request #165815 from r-ryantm/auto-update/actor-framework
caf: 0.18.5 -> 0.18.6
2023-02-08 07:40:57 -05:00
Weijia Wang
54403c2980
Merge pull request #215287 from marsam/update-scheme-manpages
scheme-manpages: 2022-07-04 -> 2023-02-06
2023-02-08 13:40:28 +01:00
Weijia Wang
37daaa1b73
Merge pull request #215293 from r-ryantm/auto-update/fend
fend: 1.1.4 -> 1.1.5
2023-02-08 13:38:41 +01:00
Weijia Wang
47dcc43d98
Merge pull request #215296 from marsam/update-libpg_query
libpg_query: 15-4.1.0 -> 15-4.2.0
2023-02-08 13:34:52 +01:00
Anthony Roussel
84d8894b2b
yubico-piv-tool: 2.3.0 -> 2.3.1 2023-02-08 13:33:29 +01:00