rhythmbox: fix python plugin PYTHONPATH

This commit is contained in:
Hernawan Faiz Abdillah 2022-03-06 14:45:41 +07:00 committed by Hernawan Faïz Abdillah
parent cf7e4cac05
commit e5132de7db

View file

@ -10,6 +10,7 @@
, libnotify , libnotify
, libdmapsharing , libdmapsharing
, gnome , gnome
, gobject-introspection
, totem-pl-parser , totem-pl-parser
, tdb , tdb
, json-glib , json-glib
@ -65,6 +66,9 @@ in stdenv.mkDerivation rec {
totem-pl-parser totem-pl-parser
gnome.adwaita-icon-theme gnome.adwaita-icon-theme
gobject-introspection
python3.pkgs.pygobject3
gst_all_1.gstreamer gst_all_1.gstreamer
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-good
@ -83,6 +87,12 @@ in stdenv.mkDerivation rec {
"--with-libsecret" "--with-libsecret"
]; ];
preFixup = ''
gappsWrapperArgs+=(
--prefix PYTHONPATH : "${python3.pkgs.pygobject3}/${python3.sitePackages}:$out/lib/rhythmbox/plugins/"
)
'';
enableParallelBuilding = true; enableParallelBuilding = true;
passthru = { passthru = {