Breaking changes announcement for unstable

services.mysql when used with mysql84 or percona-server now only allow socket-peer authentication for the super-user by default and try to adjust existing deployments.
Users can opt-out from this behavior by setting services.mysql.secureSuperUserByDefault = false;

More information can be found in the security advisory: `services.mysql` is configured with insecure authentication by default when used with `mysql` or `percona-server` · Advisory · NixOS/nixpkgs · GitHub

2 Likes

When Avahi’s mDNS resolver is enabled (services.avahi.nssmdns4 or services.avahi.nssmdns6), only the minimal mDNS resolver is enabled by default to avoid adding a 5 second delay to every failed reverse hostname lookup (e.g., delaying ping by 5 seconds).

The “full” mDNS resolver now remains disabled unless services.avahi.nssmdnsFull is also enabled. Users who have customized /etc/mdns.allow to allow mDNS domains not ending .local\ must enable services.avahi.nssmdnsFull to continue to resolve such domains.

3 Likes

A post was split to a new topic: Seeking feedback on nixos/matrix-conduit PR

  • swiftPackages.swift is now a Swift toolchain. It is no longer wrapped. This is a breaking change, but it’s likely not one that most packages will notice.
  • NIX_SWIFTFLAGS_COMPILE is no longer supported (as a consequence of the above). If you need to pass flags to swiftc, add them per your package’s build system.
  • The Swift stdlib is now available as swiftPackages.stdlib. The stubs and modules have been removed from the Darwin SDKs. If you rely on the Swift modules from the SDK, you must get them from the stdlib package or the swift toolchain package.

Note: An additional breaking change is planned for the 6.4.0 update that will move the stubs from the top-level lib folder in swiftPackages.stdlib^dev to lib/swift/macosx. This is a correction of the new Swift packaging to better align it with upstream Swift toolchains.

10 Likes

When using Grafana with declarativePlugins, make sure to add grafanaPlugins.prometheus, grafanaPlugins.loki, grafanaPlugins.tempo as needed.

These weree previously builtin, but are now apps that are installed on startup. The location they’re installed to doesn’t have an effect when using declarativePlugins though.

See grafana: 13.1.6 -> 13.2.3 by Ma27 · Pull Request #569875 · NixOS/nixpkgs · GitHub

7 Likes

zammad has been updated to v7.2.2 to fix recent security issues. Because this version drops support for elasticsearch v7 and since v8 is not available in nixpkgs so far, running Zammad with Elasticsearch currently is not supported. See #568263 for details.

2 Likes

Massive breaking change that was snuck in with no release note or mitigation instructions: Reapply "nixos/wrappers: enforce target executable is ELF" by GrimmTheShrimp · Pull Request #570085 · NixOS/nixpkgs · GitHub

The title is self-explanatory, but to explain it more thoroughly, text-based programs/scripts can no longer be used in security.wrappers.*.source; instead it must be a binary (ELF).

For programs that end up being scripts due to makeWrapper, you can switch it out for makeBinaryWrapper and it should work immediately. However, if the program itself is a script, unfortunately you will need to rewrite the program into a compiled language (or find a suitable replacement).

11 Likes

A ZHF fix did a downgrade of libdb in perlPackages.BerkeleyDB for 26.05, which caused an unreported/unprotected on-disk format downgrade. In my case it caused postgrey to restart loop and queue mail because it could no longer open the, now too-new, database file.

2 Likes

PR to add the restriction to release notes and module docs:

3 Likes

Swift has been updated to Swift 6.4.0. SwiftPM now defaults to the Swift Build build system. This should be a mostly compatible change, but if your package depends on the layout of .build, you will have to update it to work with the new layout.

10 Likes