diff --git a/pkgs/development/libraries/gstreamer/core/default.nix b/pkgs/development/libraries/gstreamer/core/default.nix index 162f407dd59e..bbd4bcde785b 100644 --- a/pkgs/development/libraries/gstreamer/core/default.nix +++ b/pkgs/development/libraries/gstreamer/core/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { }; outputs = [ "dev" "out" ]; + outputBin = "dev"; nativeBuildInputs = [ pkgconfig perl bison flex python gobjectIntrospection makeWrapper @@ -25,6 +26,12 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ glib ]; + enableParallelBuilding = true; + + preConfigure = '' + configureFlagsArray+=("--exec-prefix=$dev") + ''; + postInstall = '' for prog in "$out/bin/"*; do wrapProgram "$prog" --prefix GST_PLUGIN_SYSTEM_PATH : "\$(unset _tmp; for profile in \$NIX_PROFILES; do _tmp="\$profile/lib/gstreamer-1.0''$\{_tmp:+:\}\$_tmp"; done; printf "\$_tmp")" @@ -32,7 +39,6 @@ stdenv.mkDerivation rec { ''; preFixup = '' - moveToOutput "bin" "$dev" moveToOutput "share/bash-completion" "$dev" '';