git.iko.soy/typeable/nixpkgs
on master help sign in
Merge #63637: gst_all_1.gstreamer: re-enable auto_features

In particular this fixes build of gst_all_1.gst-plugins-base

commit426028047db79f1ec567a0f60dcebc0b8ef1ddab authorVladimír Čunát <v@cunat.cz> dateSat 22 Jun 2019, 09:41 (7 years ago) parent2873952ce17e99
1 file changed+4−4
pkgs/development/libraries/gstreamer/core/default.nix+4−4
pkgs/development/libraries/gstreamer/core/default.nix+4−4
@@ -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