Merge pull request #107490 from gebner/gstreamer-wrapper

treewide: use GST_PLUGIN_SYSTEM_PATH_1_0 instead of GST_PLUGIN_SYSTEM_PATH

authored by

Gabriel Ebner and committed by
GitHub
e8a8d380 1bf7a721

+2 -8
-4
pkgs/applications/audio/mopidy/mopidy.nix
··· 38 38 # There are no tests 39 39 doCheck = false; 40 40 41 - preFixup = '' 42 - gappsWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH") 43 - ''; 44 - 45 41 meta = with stdenv.lib; { 46 42 homepage = "https://www.mopidy.com/"; 47 43 description = ''
-2
pkgs/applications/office/libreoffice/default.nix
··· 300 300 cp -r sysui/desktop/icons "$out/share" 301 301 sed -re 's@Icon=libreoffice(dev)?[0-9.]*-?@Icon=@' -i "$out/share/applications/"*.desktop 302 302 303 - qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH") 304 - 305 303 mkdir -p $dev 306 304 cp -r include $dev 307 305 '' + lib.optionalString kdeIntegration ''
+1 -1
pkgs/development/libraries/gstreamer/core/default.nix
··· 94 94 postInstall = '' 95 95 for prog in "$dev/bin/"*; do 96 96 # We can't use --suffix here due to quoting so we craft the export command by hand 97 - wrapProgram "$prog" --run 'export GST_PLUGIN_SYSTEM_PATH=$GST_PLUGIN_SYSTEM_PATH''${GST_PLUGIN_SYSTEM_PATH:+:}$(unset _tmp; for profile in $NIX_PROFILES; do _tmp="$profile/lib/gstreamer-1.0''${_tmp:+:}$_tmp"; done; printf '%s' "$_tmp")' 97 + wrapProgram "$prog" --run 'export GST_PLUGIN_SYSTEM_PATH_1_0=$GST_PLUGIN_SYSTEM_PATH_1_0''${GST_PLUGIN_SYSTEM_PATH_1_0:+:}$(unset _tmp; for profile in $NIX_PROFILES; do _tmp="$profile/lib/gstreamer-1.0''${_tmp:+:}$_tmp"; done; printf '%s' "$_tmp")' 98 98 done 99 99 ''; 100 100
+1 -1
pkgs/tools/cd-dvd/brasero/default.nix
··· 36 36 ]; 37 37 38 38 preFixup = '' 39 - gappsWrapperArgs+=(--prefix PATH : "${binpath}" --prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH") 39 + gappsWrapperArgs+=(--prefix PATH : "${binpath}") 40 40 ''; 41 41 42 42 meta = with stdenv.lib; {