nix: use mesonAutoFeatures attribute

This commit is contained in:
André Silva 2023-10-30 18:27:38 +00:00 committed by Mihai Fufezan
parent 1c9d6b94d1
commit f48b3774a2

View file

@ -90,8 +90,9 @@ assert lib.assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been remov
then "debug"
else "release";
mesonAutoFeatures = "disabled";
mesonFlags = builtins.concatLists [
["-Dauto_features=disabled"]
(lib.optional enableXWayland "-Dxwayland=enabled")
(lib.optional legacyRenderer "-Dlegacy_renderer=enabled")
(lib.optional withSystemd "-Dsystemd=enabled")