summary refs log tree commit diff
path: root/pkgs/development/libraries/gstreamer
diff options
context:
space:
mode:
authorGabriel Ebner <gebner@gebner.org>2020-12-23 21:35:19 +0100
committerGabriel Ebner <gebner@gebner.org>2020-12-24 10:34:30 +0100
commitc9161fb11a99f0cc35ca86cc14f4cc073d683ea5 (patch)
tree98b946a128c33298d61736a5d8d356d84c347eaa /pkgs/development/libraries/gstreamer
parent9e6737710c4fb2613850e699178b23d54f1a3261 (diff)
downloadnixpkgs-c9161fb11a99f0cc35ca86cc14f4cc073d683ea5.tar
nixpkgs-c9161fb11a99f0cc35ca86cc14f4cc073d683ea5.tar.gz
nixpkgs-c9161fb11a99f0cc35ca86cc14f4cc073d683ea5.tar.bz2
nixpkgs-c9161fb11a99f0cc35ca86cc14f4cc073d683ea5.tar.lz
nixpkgs-c9161fb11a99f0cc35ca86cc14f4cc073d683ea5.tar.xz
nixpkgs-c9161fb11a99f0cc35ca86cc14f4cc073d683ea5.tar.zst
nixpkgs-c9161fb11a99f0cc35ca86cc14f4cc073d683ea5.zip
treewide: use GST_PLUGIN_SYSTEM_PATH_1_0 instead of GST_PLUGIN_SYSTEM_PATH
When GST_PLUGIN_SYSTEM_PATH_1_0 is set, gstreamer ignores
GST_PLUGIN_SYSTEM_PATH.
Diffstat (limited to 'pkgs/development/libraries/gstreamer')
-rw-r--r--pkgs/development/libraries/gstreamer/core/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gstreamer/core/default.nix b/pkgs/development/libraries/gstreamer/core/default.nix
index 3ea0bd8903a..9c644986eab 100644
--- a/pkgs/development/libraries/gstreamer/core/default.nix
+++ b/pkgs/development/libraries/gstreamer/core/default.nix
@@ -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
   '';