Commit graph

353 commits

Author SHA1 Message Date
pennae 4b06b82130 nixos-render-docs: add the .keycap class
this lets us parse the `[F12]{.keycap}` syntax we recently introduced to
the nixos manual markdown sources. the docbook renderer emits the keycap
element for this class, the manpage renderer will reject it because it's
not entirely clear what to do with it: while html has <kbd> mandoc has
nothing of the sort, and with no current occurences in options doc we
don't have to settle on a (potentially bad) way to render these.
2023-02-10 06:40:01 +01:00
pennae 67086639e0 nixos-render-docs: add support for full attributed spans
this is pretty much what pandoc calls bracketed spans. since we only
want to support ids and classes it doesn't seem fair to copy the name,
so we'll call them "attributed span" for now. renderers are expected to
know about *all* classes they could encounter and act appropriately, and
since there are currently no classes with any defined behavior the most
appropriate thing to do for now is to reject all classes.
2023-02-10 06:40:01 +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 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
figsoda acf0a7d9fd nix-init: 0.1.0 -> 0.1.1
Diff: https://github.com/nix-community/nix-init/compare/v0.1.0...v0.1.1

Changelog: https://github.com/nix-community/nix-init/blob/v0.1.1/CHANGELOG.md
2023-02-06 15:51:57 -05:00
pennae 9711de7b7e nixos-render-docs: improve error messages for multi-title manual chapters 2023-02-03 00:20:59 +01:00
Nick Cao a74f695255
Merge pull request #210864 from peng1999/nix-info-patch
nix-info: fix error when no channel installed
2023-01-31 18:10:55 +08:00
Peng Guanwen ffe9031129
Use buitins.currentSystem 2023-01-31 17:56:23 +08:00
pennae 5b6dcece88
Merge pull request #212684 from pennae/nixos-render-docs
nixos-render-docs: init, use for some manual rendering to docbook
2023-01-30 19:26:07 +01:00
figsoda 44187e2a04 nix-init: init at 0.1.0 2023-01-28 15:22:29 -05:00
pennae 8b8670db10 nixos-render-docs: add manual chapter rendering support
this is not yet able to produce manual-combined.xml, but the intention
is to add that support before too long. for now we'll concentrate on
getting the basics working: concatenating a list of chapters into a
manual-combined fragment, which will be rendered via docbook.
2023-01-27 20:07:34 +01:00
pennae 4e2e950ab1 nixos-render-docs: compact lists support
previously we did not detect whether lists were supposed to be compact
or not. this will make a difference for manual chapters, so let's stop
not doing that.
2023-01-27 20:07:34 +01:00
pennae 8e3b2a4eaa nixos-render-docs: add heading id support
as with inline spans we support only ids being set for heading, not
arbitrary attributes or classes.
2023-01-27 20:07:34 +01:00
pennae 82d5698e22 nixos-render-docs: add headings and ordered lists
headings are not supported in options docs (since it's unclear what that
would be in the final manual, and the docbook stylesheets already have
trouble rendering all docbook constructs correctly). ordered lists
should be supported, but obviously nothing uses them yet.
2023-01-27 20:07:34 +01:00
pennae 00a1b41c3b nixos-render-docs: add html comment plugins
options do not use comments, but a number of manual chapters do. since
we don't want to enable html just so we can then inspect the html and
figure out whether it's a comment we'll instead add a plugin that
detects comments natively.
2023-01-27 20:07:34 +01:00
pennae 6829c6c335 nixos-render-docs: add inline anchor plugin
supports the […]{#id} inline anchor syntax. other features of bracketed
spans are intentionally not supported.
2023-01-27 20:07:34 +01:00
pennae 41a5c3a93d nixos-render-docs: prepare for plugins
we will soon add plugins to this tool to support nixos markdown features
that aren't readily supported with markdown-it plugins. since we will
have to test these plugin we'll need access to the parser, and since
we'll also want to add functions that require postprocessing of a parsed
token stream we also add the necessary hooks now.
2023-01-27 20:07:34 +01:00
pennae c2e638391e nixos-render-docs: use only one container plugin instance
with some fiddling and custom validation logic we can avoid needing
multiple instances of this plugin. originally this wasn't done because
it does need a type stack to emit correct docbook, but since we can
easily do that now we may as well.
2023-01-27 20:07:34 +01:00
pennae 7605068000 nixos-render-docs: add tip and caution admonitions 2023-01-27 20:07:34 +01:00
pennae e8c5618b67 nixos-render-docs: add some better CLI infrastructure
using environment variables isn't great once multiple input or output
formats get involved (which will happen soon). now is a good time to set
a pattern for future converters.
2023-01-27 20:07:34 +01:00
pennae e0596e0940 nixos-render-docs: generalize option converter
while we won't have other converters (with other output formats) for a
while yet it still seems like a good idea to generalize *now* so we have
a pattern to follow.
2023-01-27 20:07:34 +01:00
pennae ccb586299d nixos-render-docs: move options conversion to options module 2023-01-27 20:07:34 +01:00
pennae aa3fd2865b nixos-render-docs: move some options helpers to new module 2023-01-27 20:07:33 +01:00
pennae c63a550e7b nixos-render-docs: don't use env for renderer state
since we keep the renderer around for a long time we don't need to stick
renderer state into env, we can use the renderer instance itself instead.
2023-01-27 20:07:33 +01:00
pennae 1016b727a8 nixos-render-docs: add Renderer base class 2023-01-27 20:07:33 +01:00
pennae 5e37d9f29e nixos-render-docs: improve type annotations in docbook 2023-01-27 20:07:33 +01:00
pennae a4ec68a777 nixos-render-docs: move docbook renderer to docbook module 2023-01-27 20:07:33 +01:00
pennae 986e48ca22 nixos-render-docs: move escaping functions to new modules
these modules will be extended with more functionality. md will
ultimately contain MD-related code such as parsers and converter base
classes. docbook will contain renderers.
2023-01-27 20:07:33 +01:00
pennae be6a25368f nixos-render-docs: init from optionsToDocbook.py
this new package shall eventually contain the rendering code necessary
to produce the entirety of the nixos (not nixpkgs) manual, in all of its
various output formats.
2023-01-27 20:07:33 +01:00
Jonas Heinrich da778757da
Merge pull request #211958 from figsoda/nixpkgs-hammering
nixpkgs-hammering: init at unstable-2022-11-15
2023-01-22 07:08:15 +01:00
figsoda 63ff217996 nixpkgs-hammering: init at unstable-2022-11-15 2023-01-21 11:26:21 -05:00
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Peng Guanwen 8bda2c3acc nix-info: fix error when no channel installed
The nix-info script fails when user only use flake.
This patch use the new nix CLI when old fails.
2023-01-15 09:28:20 +00:00
Silvan Mosberger b3792b44c5 lib: correctly render docs for nested identifiers
Applies https://github.com/nix-community/nixdoc/pull/27 and fixes up the
location information rendering, allowing lib functions to be nested in
further scopes

Needed for later commits
2022-12-23 21:10:16 +01:00
maralorn f2135573fb nix-output-monitor: 2.0.0.4 -> 2.0.0.5
https://github.com/maralorn/nix-output-monitor/releases/tag/v2.0.0.5
2022-11-28 00:33:37 +01:00
maralorn eec3739249 nix-output-monitor: 2.0.0.3 -> 2.0.0.4
https://github.com/maralorn/nix-output-monitor/releases/tag/v2.0.0.4
2022-11-21 06:21:55 +01:00
Mario Rodas 77230193fc
Merge pull request #196347 from aaronjheng/nix-store-gcs-proxy
nix-store-gcs-proxy: use buildGoModule
2022-10-28 07:13:55 -05:00
piegames 67cd3c6b65 npins: 0.1.0 → 0.2.0 2022-10-27 23:26:11 +02:00
maralorn 22250fdc68 nix-output-monitor: 2.0.0.2 -> 2.0.0.3 2022-10-25 20:58:39 +02:00
Luna Nova a824a8ec3e
nix-output-monitor: set meta.mainProgram
Fixes `error: unable to execute '/nix/store/arrb5j23znf00p1i0kvd9bmb7ddamlxx-nix-output-monitor-2.0.0.2/bin/nix-output-monitor': No such file or directory` with nix run
2022-10-21 17:48:24 -07:00
maralorn 0c244fd4cb nix-output-monitor: 2.0.0.1 -> 2.0.0.2 2022-10-19 01:40:48 +02:00
maralorn 7db45269d6 nix-output-monitor: 2.0.0.0 -> 2.0.0.1 2022-10-18 03:42:02 +02:00
Aaron Jheng 6154d63d4c
nix-store-gcs-proxy: use buildGoModule 2022-10-17 03:30:31 +00:00
maralorn c76bbaa0f5 nix-output-monitor: 1.1.3.0 -> 2.0.0.0 2022-10-15 15:28:37 +02:00
Jamie Quigley d6ed6a2b8b
alejandra: 2.0.0 -> 3.0.0
Also add self as maintainer
2022-08-16 14:31:58 +01:00
lassulus f8ec6c6c85 nixos-generators: 1.6.0 -> 1.7.0 2022-08-11 14:20:44 +02:00
kilianar 5eb9bf5565 alejandra: 1.5.0 -> 2.0.0 2022-07-14 17:46:49 +10:00
Mario Rodas 7ca32cf434
Merge pull request #178834 from kamadorueda/alejandra-update
alejandra: 1.4.0 -> 1.5.0
2022-06-24 19:37:13 -05:00
kilianar 6eb44e6fce nar-serve: 0.4.0 -> 0.6.1 2022-06-24 10:50:56 +02:00
Kevin Amado ba29e6d5b4
alejandra: 1.4.0 -> 1.5.0 2022-06-24 00:05:43 -06:00
Kevin Amado 6ec6afde81
nixel: init at 4.1.0 2022-06-23 15:54:39 -06:00
kilianar 970cd2643d statix: 0.5.4 -> 0.5.6 2022-06-19 21:32:01 +10:00
kilianar 2387396258 nixpkgs-fmt: 1.2.0 -> 1.3.0
- [Commits](https://github.com/nix-community/nixpkgs-fmt/compare/v1.2.0...v1.3.0)
2022-06-18 06:14:46 +02:00
lassulus b79667a20d nixos-generators: 1.5.0 -> 1.6.0 2022-05-24 20:45:37 +02:00
Kevin Amado 27bfb7cfb9
alejandra: 1.2.0 -> 1.4.0 2022-05-19 09:39:10 -06:00
piegames 744ca87ed0 npins: Init at 0.1.0 2022-05-17 18:24:54 +02:00
Malo Bourgon 16e15fa68f treewide: add meta.mainProgram to many packages 2022-05-04 18:08:19 -07:00
Artturin f1c7f19e49 treewide: testVersion -> testers.testVersion 2022-04-22 16:24:27 +03:00
R. Ryantm 60dc89be41 alejandra: 1.1.0 -> 1.2.0 2022-04-11 01:20:18 +00:00
Sandro 4c6ad299c1
Merge pull request #164588 from 1000101/nix-info 2022-03-23 07:50:32 +01:00
Malte Brandy 4434f53415 nix-output-monitor: 1.1.2.1 -> 1.1.3.0 2022-03-21 22:49:54 +01:00
1000101 e97d588423 nix-info: add BUILD_ID information 2022-03-17 13:16:35 +01:00
Malte Brandy c998ef53b8 nix-output-monitor: 1.1.2.0 -> 1.1.2.1 + Refactor 2022-03-16 15:04:52 +01:00
Malte Brandy 884b37844e nix-output-monitor: 1.1.1.0 -> 1.1.2.0 2022-03-13 13:39:31 +01:00
Kevin Amado 8dadd20473
alejandra: 1.0.0 -> 1.1.0 2022-03-10 13:54:59 -05:00
Malte Brandy 5c924dc3b9 nix-output-monitor: Add zsh completion for nom-build 2022-03-09 13:15:28 +01:00
Malte Brandy de687e6c8e nix-output-monitor: 1.0.5.0 -> 1.1.1.0 2022-03-08 14:16:48 +01:00
Malte Brandy e8cfe80ccc nix-output-monitor: Introduce update.sh 2022-03-08 14:15:22 +01:00
Martin Weinelt e9aa7156d9
Merge pull request #162796 from 0x4A6F/master-alejandra 2022-03-06 19:42:00 +01:00
Malte Brandy f7e9fa8dc6 nix-output-monitor: 1.0.4.0 -> 1.0.5.0 2022-03-05 20:20:01 +01:00
0x4A6F 81da6369de
alejandra: 0.7.0 -> 1.0.0 2022-03-04 17:14:54 +01:00
Kevin Amado 232acc9c4d
alejandra: 0.6.0 -> 0.7.0 2022-02-28 19:23:27 -05:00
Kevin Amado ab1e19e336
alejandra: 0.5.0 -> 0.6.0 2022-02-25 17:07:52 -05:00
AndersonTorres 3f19fc37a3 Move misc/vim-plugins to applications/editors/vim/plugins 2022-02-24 20:26:07 -03:00
Kevin Amado 4217504fb9
alejandra: 0.4.0 -> 0.5.0 2022-02-23 16:50:11 -05:00
Kevin Amado 0450d5dda8
alejandra: 0.3.1 -> 0.4.0 2022-02-21 19:01:41 -05:00
R. Ryantm 2bee70d513 statix: 0.5.3 -> 0.5.4 2022-02-22 04:38:37 +10:00
Kevin Amado fa7af73685
alejandra: 0.3.0 -> 0.3.1 2022-02-20 19:16:44 -05:00
Kevin Amado 98aabc4fc9
alejandra: 0.2.0 -> 0.3.0 2022-02-18 18:41:28 -05:00
Kevin Amado 82cf11aece
alejandra: 0.1.0 -> 0.2.0 2022-02-17 02:50:20 -05:00
Kevin Amado 16298a931e
alejandra: unstable-2022-02-12 -> 0.1.0 2022-02-14 22:38:27 -05:00
Kevin Amado 1cb2d4c19f alejandra: unstable-2022-02-10 -> unstable 2022-02-12 2022-02-13 09:31:40 -08:00
Kevin Amado be62b48247
alejandra: unstable-2022-01-30 -> unstable-2022-02-10 2022-02-10 16:12:50 -05:00
Michael Schneider 0d55e6d93a statix: v0.5.2 -> v0.5.3 2022-02-10 11:47:49 -08:00
Bobby Rong 589235201f
Merge pull request #157149 from nerdypepper/update-statix
statix: v0.4.2 -> v0.5.2
2022-01-31 21:02:54 +08:00
0x4A6F 6239d0a67c
alejandra: init at unstable 2022-01-30 2022-01-30 19:21:56 +01:00
Akshay 1eb57f1446 statix: v0.4.2 -> v0.5.2 2022-01-28 19:58:56 +05:30
figsoda af9863fd44 statix: fix darwin build 2021-12-06 14:03:29 -05:00
Akshay 8e29102ccb statix: 0.4.1 -> 0.4.2 2021-12-04 16:09:03 +05:30
Malte Brandy e2738be136
nix-output-monitor: 1.0.3.3 -> 1.0.4.0 2021-12-03 00:37:25 +01:00
figsoda cda6d38346 statix: 0.4.0 -> 0.4.1 2021-11-28 14:45:48 -05:00
figsoda 64bbe7aa17 statix: use buildFeatures 2021-11-16 08:11:52 -05:00
Albert Safin cdd3c44bfa cached-nix-shell: 0.1.4 -> 0.1.5 2021-11-14 18:29:21 +00:00
zowoq 899f2d8b7f nix-info: use stdenv.hostPlatform.system
`pkgs.system` is an alias since 4246d6ce21.
2021-11-14 11:11:15 +10:00
lassulus 7e7ce7316e nixos-generators: 1.4.0 -> 1.5.0 2021-11-08 17:24:58 +01:00
Akshay 57225d51a6 statix: 0.3.6 -> 0.4.0 2021-11-06 20:34:21 +05:30
Akshay c22dad59dc statix: 0.3.5 -> 0.3.6 2021-11-05 16:56:45 +05:30
figsoda 946f55cc04 statix: 0.3.4 -> 0.3.5 2021-11-01 12:19:13 -04:00
figsoda 9ec2134b68 statix: 0.3.1 -> 0.3.4 2021-10-31 22:29:47 -04:00
figsoda 19fec7306e vimPlugisn.statix: add simple check and note for version 2021-10-29 11:16:11 -04:00
figsoda 072b073309 statix: init at 0.3.1 2021-10-29 11:16:07 -04:00
figsoda 3109ff5765 treewide: avoid use of lib.optional with list in inputs 2021-10-04 13:02:42 -04:00
Malte Brandy f779a0ff03
nix-output-monitor: 1.0.3.2 -> 1.0.3.3 2021-09-24 18:20:19 +02:00
Malte Brandy a96fe065ee
nix-output-monitor: 1.0.3.1 -> 1.0.3.2 2021-09-17 10:58:39 +02:00
(cdep)illabout 62acbfd1b7
nix-query-tree-viewer: 0.2.0 -> 0.2.1 2021-09-10 22:21:39 +09:00
Robert Hensing f432f3c4a4 nixos-install-tools: Add tests.nixos-tests 2021-08-29 23:11:53 +02:00
lassulus e701bc3bfb nixos-generators: 1.3.0 -> 1.4.0 2021-08-17 08:51:27 +02:00
zowoq 8f18af2629 nixos-option: set platforms.all
only built on linux currently but it is used on non-linux platforms e.g. darwin with home-manager
2021-08-07 14:46:23 +10:00
Felix Bühler 6cafd781ca
nix-script: remove phases (#130742)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-07-20 13:27:46 +02:00
zimbatm 22b642f457
nar-serve: 0.3.0 -> 0.4.0 2021-07-16 14:31:23 +02:00
Robert Helgesson ce6f17f953
nixos-option: init at <unversioned> 2021-07-09 08:59:12 +02:00
github-actions[bot] 563389a7fd
Merge master into staging-next 2021-05-22 12:27:09 +00:00
lassulus af60121cf5 nixos-generators: 1.2.0 -> 1.3.0 2021-05-22 07:05:27 +02:00
Jonathan Ringer c1f8a15dac
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
  nixos/doc/manual/release-notes/rl-2105.xml
  pkgs/tools/security/sequoia/default.nix
2021-05-19 10:39:54 -07:00
Robert Hensing 7b0e0ca35e nixos-install-tools: init
The essential commands from the NixOS installer as a package

With this package, you get the commands like nixos-generate-config and
nixos-install that you would otherwise only find on a NixOS system, such
as an installer image.

This way, you can install NixOS using a machine that only has Nix.

It also includes the manpages, which are important because the commands
rely on those for providing --help.
2021-05-13 01:29:02 +02:00
Daniël de Kok 85f96822a0 treewide: fix cargoSha256/cargoHash
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in
which cargo vendor erroneously changed permissions of vendored
crates. This was fixed in Rust
1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all
cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are
potentially broken.

This change updates cargoSha256/cargoHash tree-wide.

Fixes #121994.
2021-05-08 00:36:37 -07:00
Malte Brandy 640253ce2e
nix-output-monitor: 1.0.3.0 -> 1.0.3.1 2021-04-30 23:22:00 +02:00
mlvzk 3f2b84a754
manix: 0.6.2 -> 0.6.3 (#119912)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-04-21 03:08:54 +02:00
Sandro b2f2d04f01
rnix-hashes: fix tests, add me as maintainer (#119749)
* rnix-hashes: fix tests, add me as maintainer

* Update pkgs/tools/nix/rnix-hashes/default.nix
2021-04-18 04:13:31 +02:00
Jonas Chevalier b2a19283d9
nixpkgs-fmt: 1.1.0 -> 1.2.0 (#117933) 2021-03-29 13:25:10 +02:00
Malte Brandy 8f0cff4da9
nix-output-monitor: 1.0.2.0 -> 1.0.3.0 2021-03-04 19:29:59 +01:00
Malte Brandy 07999ac6ea
nix-output-monitor: 1.0.1.1 -> 1.0.2.0 2021-03-04 04:09:05 +01:00
Malte Brandy 65f8db5ff9
nix-output-monitor: Add nom-build script 2021-03-03 13:25:30 +01:00
davidak f496334da3
Merge pull request #113939 from SuperSandro2000/nixpkgs-fmt
nixpkgs-fmt: 1.0.0 -> 1.1.0
2021-02-22 02:14:44 +01:00
Tim Steinbach 3ae8bebc9e
Update pkgs/tools/nix/nixpkgs-fmt/default.nix
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
2021-02-21 18:38:03 -05:00
Sandro Jäckel 095f8cec5a
nixpkgs-fmt: 1.0.0 -> 1.1.0 2021-02-21 19:39:48 +01:00
Malte Brandy 1ee875ce68
nix-output-monitor: 1.0.1.0 -> 1.0.1.1 2021-02-21 17:43:48 +01:00
Malte Brandy ae012d706d
nix-output-monitor: 1.0.0.0 -> 1.0.1.0 2021-02-21 04:20:33 +01:00
Malte Brandy f428bb03f2
nix-output-monitor: 0.1.0.2 -> 1.0.0.0 2021-02-21 02:37:08 +01:00
Pavol Rusnak a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Ben Siraphob 76f93cc731 pkgs/tools: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
xzfc 2868e690d8
cached-nix-shell: 0.1.3 -> 0.1.4 (#94567)
* cached-nix-shell: 0.1.3 -> 0.1.4

* Apply suggestions from code review

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2020-11-29 06:46:38 +01:00
Sandro 94454411a7
Merge pull request #99248 from JoeLancaster/joelancaster-nixadd-v1_0_0 2020-11-28 04:10:11 +01:00
Maximilian Bosch 712eaac316
Merge pull request #103277 from Lassulus/nixos-generators
nixos-generators: 1.1.0 -> 1.2.0
2020-11-10 19:10:34 +01:00
lassulus eccd3ea47a nixos-generators: 1.1.0 -> 1.2.0 2020-11-10 07:42:30 +01:00
Andika Demas Riyandi 038497d3b3
nar-serve: init at 0.3.0 (#95420)
* nar-serve: init at 0.3.0

* nixos/nar-serve: add new module

Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2020-11-06 18:59:51 +01:00
Malte Brandy 90da4ed932
nix-output-monitor: 0.1.0.0 -> 0.1.0.2 2020-10-18 18:59:32 +02:00
Ben Siraphob 683a87dbeb treewide: remove periods from end of package descriptions 2020-10-17 08:22:31 -07:00
Malte Brandy b13bb2402b
nix-output-monitor: Add maintainer 2020-10-10 16:24:27 +02:00
maralorn 19bfa40a76
nix-output-monitor: Init at 0.1.0.0 (#100102) 2020-10-09 22:43:10 +02:00
Joe Lancaster 3a5b3ef85e dnadd: init at v1.0.0 2020-10-05 18:57:46 +01:00
mlvzk 92ba610833 manix: init at 0.6.2 2020-09-15 20:31:32 +02:00
Andika Demas Riyandi f85c04ab55
nixpkgs-fmt: 0.9.0 -> 1.0.0 2020-08-18 20:18:59 +07:00
Andika Demas Riyandi ee803f30ba
nixpkgs-fmt: 0.9.0 -> 1.0.0 2020-08-17 15:04:46 +07:00
zowoq 7d58c271b8 buildRustPackage packages: editorconfig fixes 2020-07-31 14:08:19 +10:00
Andika Demas Riyandi f4997efd5c
rnix-hashes: init at 0.2.0 (#93778) 2020-07-28 14:38:00 +00:00
Benjamin Hipple 0ddf012e30
Merge pull request #88601 from xzfc/cached-nix-shell
cached-nix-shell: 0.1.2 -> 0.1.3
2020-05-22 10:33:35 -04:00
Albert Safin 7923f0d955 cached-nix-shell: 0.1.2 -> 0.1.3 2020-05-22 11:12:02 +00:00
lassulus 3a47333f9f nixos-generators: 1.0.0 -> 1.1.0 2020-05-10 22:24:15 +02:00
Andika Demas Riyandi 6fc0c1dee1
nixpkgs-fmt: 0.8.0 -> 0.9.0 (#87175) 2020-05-07 09:28:04 +00:00
Cole Helbling 586e230d8b
cached-nix-shell: improve robustness of postInstall 2020-05-03 18:45:58 -07:00
Cole Helbling 440110b83f
nixpkgs-fmt: fix erroneous debug output (#86335)
Prior to this, when used in conjunction with e.g. `format-all-mode`,
garbage like

    node: NODE_STRING@[8934; 9139), indent: IndentLevel { level: 3, alignment: 0 }

would be written to the file.
2020-05-02 23:36:49 +00:00
rizary 7c399a4ee0 nixpkgs-fmt: 0.7.0 -> 0.8.0 2020-04-25 22:57:02 -07:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Albert Safin 821527fae8 cached-nix-shell: init at 0.1.2 2020-04-07 15:36:22 +00:00
rnhmjoj 8ef9611645 nix-script: 2015-09-22 -> 2020-03-23 2020-03-31 09:26:35 +02:00
zimbatm 3d6cdfa24b
nixpkgs-fmt: 0.6.1 -> 0.7.0 (#81805) 2020-03-05 08:28:11 +00:00
(cdep)illabout 05a564d48c
nix-query-tree-viewer: init at 0.2.0 2020-02-22 11:18:41 +09:00
Mario Rodas b83aee0d4c
Merge pull request #80297 from bhipple/u/rust-cargo-nixdoc
nixdoc: upgrade cargo fetcher and cargoSha256
2020-02-17 08:51:04 -05:00
Benjamin Hipple 36cf8ad685 nixpkgs-fmt: upgrade cargo fetcher and cargoSha256
Infra upgrade as part of #79975; no functional change expected.
2020-02-16 16:06:47 -05:00
Benjamin Hipple 940e6968f1 nixdoc: upgrade cargo fetcher and cargoSha256
Infra upgrade as part of #79975; no functional change expected.
2020-02-16 16:05:21 -05:00
Benjamin Hipple eb11feaa0b treewide: change fetchCargoTarball default to opt-out
Changes the default fetcher in the Rust Platform to be the newer
`fetchCargoTarball`, and changes every application using the current default to
instead opt out.

This commit does not change any hashes or cause any rebuilds. Once integrated,
we will start deleting the opt-outs and recomputing hashes.

See #79975 for details.
2020-02-13 22:41:37 -08:00
zimbatm 85142b9ad2
nixpkgs-fmt: 0.6.0 -> 0.6.1 2019-11-07 22:50:57 +00:00
zimbatm 25fb1e59d6
nixpkgs-fmt: 0.5.0 -> 0.6.0 2019-09-16 16:28:46 +02:00
zimbatm 1fff2b0760
nixpkgs-fmt: 0.3.1 -> 0.5.0 2019-09-07 23:54:49 +02:00
zimbatm 406e29ff78 nix-store-gcs-proxy: init at 0.1.0 (#68139)
* nix-store-gcs-proxy: init at 0.1.0

Co-Authored-By: Florian Klink <flokli@flokli.de>
2019-09-06 20:25:45 -07:00
Vladimír Čunát f21211ebfe
Merge branch 'master' into staging 2019-09-02 23:25:24 +02:00
markuskowa ca15c0bd60
Merge pull request #67820 from Lassulus/nixos-generators
nixos-generators: init at 1.0.0
2019-08-31 19:26:45 +02:00
volth 7bb6b373ab treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
lassulus 66ed329b99 nixos-generators: init at 1.0.0 2019-08-31 12:37:07 +02:00
volth 08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Vladimír Čunát 985d1ac425
Merge branch 'master' into staging-next
There were several more conflicts from name -> pname+version;
all auto-solved by kdiff3, hopefully OK.

Hydra nixpkgs: ?compare=1538611
2019-08-25 14:57:11 +02:00
zimbatm b240871063
nixpkgs-fmt: 0.2.0 -> 0.3.1 2019-08-24 14:28:06 +02:00
Vladimír Čunát 2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
zimbatm 79c2ed6b60
nixpkgs-fmt: init at 0.2.0 2019-08-23 16:12:50 +02:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Alyssa Ross 062210bdff treewide: update cargoSha256 hashes for cargo-vendor upgrade
A recent upgrade of cargo-vendor changed its output slightly, which
broke all cargoSha256 hashes in nixpkgs.
See https://github.com/NixOS/nixpkgs/issues/60668 for more information.

Since then, a few hashes have been fixed in master by hand, but there
were a lot still to do, so I did all of the ones left over with some
scripts I wrote.

The one hash I wasn’t able to update was habitat's, because it’s
currently broken and the build doesn’t get far enough to produce a
hash anyway.
2019-06-01 15:17:52 +00:00
Michele Guerini Rocco 2926b6e11f nix-script: init at 2015-09-22 (#55495) 2019-02-10 23:08:58 +01:00
Vincent Ambo f03929f649
nixdoc: init at 1.0.1
Adds nixdoc, a tool to generate documentation for Nix functions in the
standard library.

See #49275 for some background information.
2018-10-28 22:17:16 +00:00
Jan Malakhovski ff4b82c966 nix-info: use checkInputs 2018-08-11 09:35:26 +00:00
Daiderd Jordan aa32796a89
nix-info: build locally 2018-01-21 14:09:35 +01:00
Anthony Cowley 2e001620d5 nix-info: apply SC1117 suggested fix 2017-12-19 13:05:49 -05:00