Merge pull request #162976 from Abdillah/bugfix/rhythmbox-plugin

rhythmbox: fix python plugin PYTHONPATH
This commit is contained in:
Jan Tojnar 2022-03-27 21:22:34 +02:00 committed by GitHub
commit 1548b29685
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = {