forked from mirrors/nixpkgs
Merge pull request #72096 from jtojnar/sushi-fix
gnome3.sushi: fix module loading
This commit is contained in:
commit
7ce9e536ae
|
@ -1,7 +1,27 @@
|
|||
{ stdenv, fetchurl, pkgconfig, meson, gettext, gobject-introspection, glib
|
||||
, clutter-gtk, clutter-gst, gnome3, gtksourceview4, gjs
|
||||
, webkitgtk, libmusicbrainz5, icu, wrapGAppsHook, gst_all_1
|
||||
, gdk-pixbuf, librsvg, gtk3, harfbuzz, ninja, epoxy }:
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, pkgconfig
|
||||
, meson
|
||||
, gettext
|
||||
, gobject-introspection
|
||||
, glib
|
||||
, clutter-gtk
|
||||
, clutter-gst
|
||||
, gnome3
|
||||
, gtksourceview4
|
||||
, gjs
|
||||
, webkitgtk
|
||||
, libmusicbrainz5
|
||||
, icu
|
||||
, wrapGAppsHook
|
||||
, gst_all_1
|
||||
, gdk-pixbuf
|
||||
, librsvg
|
||||
, gtk3
|
||||
, harfbuzz
|
||||
, ninja
|
||||
, epoxy
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sushi";
|
||||
|
@ -13,15 +33,42 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig meson ninja gettext gobject-introspection wrapGAppsHook
|
||||
pkgconfig
|
||||
meson
|
||||
ninja
|
||||
gettext
|
||||
gobject-introspection
|
||||
wrapGAppsHook
|
||||
];
|
||||
buildInputs = [
|
||||
glib gtk3 gnome3.evince icu harfbuzz
|
||||
clutter-gtk clutter-gst gjs gtksourceview4 gdk-pixbuf
|
||||
librsvg libmusicbrainz5 webkitgtk epoxy
|
||||
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
|
||||
glib
|
||||
gtk3
|
||||
gnome3.evince
|
||||
icu
|
||||
harfbuzz
|
||||
clutter-gtk
|
||||
clutter-gst
|
||||
gjs
|
||||
gtksourceview4
|
||||
gdk-pixbuf
|
||||
librsvg
|
||||
libmusicbrainz5
|
||||
webkitgtk
|
||||
epoxy
|
||||
gst_all_1.gstreamer
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good
|
||||
];
|
||||
|
||||
# See https://github.com/NixOS/nixpkgs/issues/31168
|
||||
postInstall = ''
|
||||
for file in $out/libexec/org.gnome.NautilusPreviewer
|
||||
do
|
||||
sed -e $"2iimports.package._findEffectiveEntryPointName = () => \'$(basename $file)\' " \
|
||||
-i $file
|
||||
done
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = "sushi";
|
||||
|
|
Loading…
Reference in a new issue