We just merged https://github.com/NixOS/nixpkgs/pull/63493 to
That means we are now passing
-Dauto_features=enabled to Meson, which forcefully enables all project features that are auto-detected by default. Previously we forcefully disabled them, which lead to confusion when a packager added dependencies required by a feature but the project still built without the feature.
You can disable the features you do not want by adding
mesonFlags = [ "-Dfeature_name=disabled" ]; to the package expression. The names of features are listed in the
meson_options.txt file in the root of the project. Alternately, you can also add
mesonAutoFeatures = "disabled"; to the expression to revert to the previous behaviour.
See also Meson documentation of features