Merge pull request #107490 from gebner/gstreamer-wrapper
treewide: use GST_PLUGIN_SYSTEM_PATH_1_0 instead of GST_PLUGIN_SYSTEM_PATH
This commit is contained in:
@@ -94,7 +94,7 @@ stdenv.mkDerivation rec {
|
||||
postInstall = ''
|
||||
for prog in "$dev/bin/"*; do
|
||||
# We can't use --suffix here due to quoting so we craft the export command by hand
|
||||
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")'
|
||||
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")'
|
||||
done
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user