@@ -42,20 +42,20 @@ stdenv.mkDerivation rec {
4242 docbook_xsl docbook_xml_dtd_412
4343 ];
4444
45− buildInputs = [ libunwind ]
46− ++ lib.optionals stdenv.isLinux [ libcap elfutils ]
45+ buildInputs =
46+ lib.optionals stdenv.isLinux [ libcap libunwind elfutils ]
4747 ++ lib.optional stdenv.isDarwin CoreServices;
4848
4949 propagatedBuildInputs = [ glib ];
5050
5151 mesonFlags = [
5252 # Enables all features, so that we know when new dependencies are necessary.
53− # "-Dauto_features=enabled"
53+ "-Dauto_features=enabled"
5454 "-Ddbghelp=disabled" # not needed as we already provide libunwind and libdw, and dbghelp is a fallback to those
5555 "-Dexamples=disabled" # requires many dependencies and probably not useful for our users
5656 ]
5757 # darwin.libunwind doesn't have pkgconfig definitions so meson doesn't detect it.
58− ++ stdenv.lib.optional stdenv.isDarwin "-DHAVE_UNWIND=1";
58+ ++ stdenv.lib.optionals stdenv.isDarwin [ "-Dlibunwind=disabled" "-Dlibdw=disabled" ];
5959
6060 postInstall = ''
6161 for prog in "$dev/bin/"*; do