xfce4-mixer: use wrapper to set GST_PLUGIN_SYSTEM_PATH
This commit is contained in:
parent
22541ebdaa
commit
8f1623b38b
@ -1,5 +1,7 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, intltool, glib, gstreamer, gst_plugins_base, gtk
|
{ stdenv, fetchurl, pkgconfig, intltool, makeWrapper
|
||||||
, libxfce4util, libxfce4ui, xfce4panel, xfconf, libunique?null }:
|
, glib, gstreamer, gst_plugins_base, gtk
|
||||||
|
, libxfce4util, libxfce4ui, xfce4panel, xfconf, libunique ? null
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
# The usual Gstreamer plugins package has a zillion dependencies
|
# The usual Gstreamer plugins package has a zillion dependencies
|
||||||
@ -23,13 +25,13 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ pkgconfig intltool glib gstreamer gst_plugins_minimal gtk
|
[ pkgconfig intltool glib gstreamer gst_plugins_minimal gtk
|
||||||
libxfce4util libxfce4ui xfce4panel xfconf libunique
|
libxfce4util libxfce4ui xfce4panel xfconf libunique makeWrapper
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall =
|
postInstall =
|
||||||
''
|
''
|
||||||
mkdir -p $out/nix-support
|
wrapProgram "$out/bin/xfce4-mixer" \
|
||||||
echo ${gst_plugins_minimal} > $out/nix-support/propagated-user-env-packages
|
--prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user