6033 Commits

Author SHA1 Message Date
Robert Hensing aa1345fd8a lib/services: fix reload/readiness bugs and add compliance coverage (#540857) 2026-07-23 16:49:52 +00:00
Sandro 62df2d0da0 doc/pnpmBuildHook: fix fetcherVersion typo (#544584) 2026-07-23 14:25:29 +00:00
eljamm 7530125d8e doc/pnpmBuildHook: fix fetcherVersion typo 2026-07-22 16:42:36 +02:00
Austin Horstman afb89593d4 luarocks-packages-updater: support initial maintainer (#544218) 2026-07-22 14:12:33 +00:00
Marc Jakobi 98089f0292 vim.section.md: add note on adding Neovim LuaRocks based plugins (#544152) 2026-07-21 13:28:53 +00:00
Austin Horstman 3ba52b0d7a luarocks-packages-updater: support initial maintainer
Allow passing `--maintainers` to add the maintainers for a new package
creation.
2026-07-21 08:13:11 -05:00
Théo Zimmermann c57117faef doc: fix typo (#541799) 2026-07-21 12:28:45 +00:00
Marc Jakobi 941e594717 vim.section.md: add note on adding Neovim LuaRocks based plugins 2026-07-21 13:16:57 +02:00
Johannes Kirschbauer 6299f15724 doc/preface: minimalize and rename to 'overview' (#543251) 2026-07-21 08:12:43 +00:00
cinereal ae9994806c lib/services: fix reload/readiness bugs and add compliance coverage
Fixes several correctness bugs primarily around modular services' recent
reload/notification options (#535695) and adds compliance coverage to guard them.

Fixes:

- `lib/services/service.nix`:
  - the reload-conflict assertion had inverted polarity, so it fired on the
    default configuration
  - the `mkIf` guard on `process.reloadCommand` had a misplaced paren, applying
    `!= null` to the `mkIf` result rather than to the condition
  - `process.reloadSignal` derives `process.reloadCommand`, so the assertion
    could not check `reloadCommand != null` -- that fired on every signal-only
    service. The command is now derived at `mkDefault` priority and the
    assertion is gated on `options.process.reloadCommand.highestPrio`, firing
    only when the user also set `reloadCommand` explicitly.
  - change `notificationProtocol` to a sub-module type
- `nixos/modules/system/service/systemd/service.nix`:
  - `systemd.mainExecReload`'s default ran `escapeSystemdExecArgs` (a list
    escaper) on the `nullOr str` `process.reloadCommand`; this threw
    `expected a list but found a string` and would have mangled `$MAINPID`. It
    now uses `process.reloadCommand` verbatim.
  - the `Type` default read a non-existent
    `config.serviceManager.notificationProtocol` instead of
    `config.notificationProtocol`.

Tests:

Extend the modular-service compliance suite to guard the above:

- Portable (manager-agnostic) eval assertions: `reloadSignal` derives
  `reloadCommand`, the conflict assertion does not fire on signal-only services
  but does when both are set explicitly, and `notificationProtocol.systemd`/`.s6`
  default to `false`.
- systemd-specific eval assertions: `serviceConfig.Type` (simple/notify) and
  `serviceConfig.ExecReload` are asserted on the resolved host units. This
  directly guards the `mainExecReload` fix, which threw before it.
- Runtime reload compliance test: a nested reloadable sub-service is started and
  reloaded, asserting the service observed the reload (recorded a SIGHUP marker).
  `callReload` receives the service's name path (the list of names from the
  top-level service down to the target sub-service); each integration joins it
  per its own unit-naming convention (NixOS dash-joins to the systemd unit name,
  e.g. `reload-inner.service`). Keeping it a path list rather than a read-only
  submodule option keeps the suite manager-agnostic.
- `doc/build-helpers/testers.chapter.md`: document `callReload`.

Follow-up to #535695.

Signed-off-by: cinereal <cinereal@riseup.net>
Assisted-by: Claude:claude-opus-4-8
2026-07-20 11:01:04 +02:00
Michael Daniels 920db0f2d7 Merge branch 'master' into staging-next 2026-07-19 20:59:29 -04:00
Dmitry Kalinkin c1d4c396f2 doc: added a method to exclude packages from TeX Live collections (#523729) 2026-07-19 23:10:21 +00:00
nixpkgs-ci[bot] 6ceeb3d4ea Merge master into staging-next 2026-07-19 00:32:07 +00:00
Masum Reza fa271e35fc remove jmtpfs: Not receiving upstream updates (#526418) 2026-07-18 23:25:06 +00:00
Johannes Kirschbauer b19000e073 doc/preface: minimalize and rename to 'overview' 2026-07-18 16:58:54 +02:00
nixpkgs-ci[bot] 5588578240 Merge master into staging-next 2026-07-18 10:52:36 +00:00
Johannes Kirschbauer a98c685b18 doc/style.css: add dark mode to sidebar 2026-07-18 12:21:03 +02:00
Johannes Kirschbauer e6eb0f8830 doc/style.css: fix .nav-sidebar class selector 2026-07-18 11:37:16 +02:00
Johannes Kirschbauer 7018a16f24 pkgs/nixos-render-docs:add auto-highlight toc (#542596) 2026-07-18 08:39:43 +00:00
Michael Daniels 6004f6596a Merge branch 'master' into staging-next 2026-07-17 22:18:32 -04:00
dotlambda 423e709b6f fittrackee: 0.11.2 -> 1.3.3 (#444673) 2026-07-17 22:01:03 +00:00
Chris Moultrie a16d05931d fittrackee: 0.11.2 -> 1.3.3 2026-07-17 17:32:03 -04:00
nixpkgs-ci[bot] a1c5f6dcc5 Merge master into staging-next 2026-07-17 17:30:00 +00:00
Thomas Gerbet da9e996db8 Clarify Security Support Status of Different Architectures (#539504) 2026-07-17 14:28:06 +00:00
Johannes Kirschbauer fc182eeca8 pkgs/nixos-render-docs: add auto-highlight toc
Added an intersection observer, that adds 'active' and 'active-trailing'
classes to the toc
2026-07-16 16:18:14 +02:00
nixpkgs-ci[bot] baab16d485 Merge master into staging-next 2026-07-16 12:33:46 +00:00
Johannes Kirschbauer 3436493e89 doc: fix malformed fenced divs (#541946) 2026-07-16 10:14:26 +00:00
Julian Stecklina ce57f12940 doc/using: clarify security support status
This is currently the status quo as per discussion in the NixOS
Security Discussions channel. Let's state it clearly to avoid people
being surprised.
2026-07-16 10:23:09 +02:00
Vincent Laporte 92a69da464 Change default Rocq packages' name prefix (#541801) 2026-07-16 07:44:32 +00:00
Théo Zimmermann 1b950b50bd rocqPackages.mkRocqDerivation: change prefix for rocq
Make the defauult prefix be set to `[ "rocq" ]` (instead of
`[ "rocq-core" ]`) if `useCoq` is `false`.

This matches the opam convention and ensures that the default
`opam-name` will be correct.
2026-07-15 21:43:39 +02:00
nixpkgs-ci[bot] f43268fdd6 Merge master into staging-next 2026-07-15 12:30:08 +00:00
ash 96e26140e6 fflogs: drop 2026-07-15 08:17:15 +01:00
nixpkgs-ci[bot] eea0997336 Merge master into staging-next 2026-07-15 00:26:44 +00:00
Ryan Mulligan 35260ee51a doc: fix additional malformed fenced divs 2026-07-14 14:03:26 -07:00
Ryan Mulligan d875aae529 doc: fix mmdoc fenced div rendering 2026-07-14 14:02:36 -07:00
Nick Cao d79d516df8 keycloak.plugins.keycloak-metrics-spi: drop (#541722) 2026-07-14 19:24:24 +00:00
dotlambda 42ca1260bf keycloak: 26.6.4 -> 26.7.0 (#540099) 2026-07-14 19:19:25 +00:00
Anish Pallati edddd2ed02 keycloak.plugins.keycloak-metrics-spi: drop
Signed-off-by: Anish Pallati <i@anish.land>
2026-07-14 12:47:59 -04:00
Théo Zimmermann 60d60de3de doc: fix typo 2026-07-14 15:35:36 +02:00
nixpkgs-ci[bot] 0edbb73c37 Merge staging-next into staging 2026-07-14 00:29:43 +00:00
Peder Bergebakken Sundt a78974e44f domoticz: 2024.7 ->2026.2-unstable-2026-07-09 + add lenny as maintainer (#539060) 2026-07-13 23:55:58 +00:00
nixpkgs-ci[bot] 83a0bb7cea Merge staging-next into staging 2026-07-13 18:16:40 +00:00
Peder Bergebakken Sundt c837398238 mcphost: drop (#539541) 2026-07-13 16:20:40 +00:00
nixpkgs-ci[bot] 44e6d12e3c Merge staging-next into staging 2026-07-13 14:32:09 +00:00
Johannes Kirschbauer b54016c89c docs: add header feature to nrd to inject a custom headers (#535662) 2026-07-13 13:10:07 +00:00
Johannes Kirschbauer fd464b2698 doc/style.css: clamp content max-width (#541153) 2026-07-13 13:05:49 +00:00
Johannes Kirschbauer 7c1a8c45bf nixos/doc: inject custom header via nixos-render-docs --header 2026-07-13 15:04:31 +02:00
nixpkgs-ci[bot] c45ba81144 Merge staging-next into staging 2026-07-13 12:50:29 +00:00
Johannes Kirschbauer 4388cd791a doc/doc-support: inject custom header via nixos-render-docs --header 2026-07-13 14:30:39 +02:00
Andreas Rammhold 00ec5f0eaf doc/release-notes: Add changelog entry for the now deprecated allowBrokenPredicate setting
Since 48422decc4 the old behaviour is
emitting a warning based on the latest supported release version. This
documents it.
2026-07-13 13:39:20 +02:00