mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 08:59:42 +00:00
gnome3.sushi: fix module loading
This commit is contained in:
parent
4cd2cb43fb
commit
885576c97a
|
@ -22,6 +22,15 @@ stdenv.mkDerivation rec {
|
||||||
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
|
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 = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = "sushi";
|
packageName = "sushi";
|
||||||
|
|
Loading…
Reference in a new issue