mat2: install untested nautilus extension

I couldn't get nautilus-python to work:

    $ nautilus
    ImportError: could not import gobject (error was: ModuleNotFoundError("No module named 'gi'"))

    (org.gnome.Nautilus:5580): Nautilus-Python-WARNING **: 12:28:13.527: pygobject initialization failed

    (org.gnome.Nautilus:5580): Nautilus-Python-WARNING **: 12:28:13.527: nautilus_python_init_python failed
This commit is contained in:
Robert Schütz 2021-03-14 12:31:44 +01:00
parent bfd934cb2f
commit c3cdab8fa0

View file

@ -77,6 +77,9 @@ buildPythonPackage rec {
postInstall = ''
install -Dm 444 data/mat2.svg -t "$out/share/icons/hicolor/scalable/apps"
install -Dm 444 doc/mat2.1 -t "$out/share/man/man1"
install -Dm 444 nautilus/mat2.py -t "$out/share/nautilus-python/extensions"
buildPythonPath "$out $pythonPath"
patchPythonScript "$out/share/nautilus-python/extensions/mat2.py"
'' + lib.optionalString dolphinIntegration ''
install -Dm 444 dolphin/mat2.desktop -t "$out/share/kservices5/ServiceMenus"
'';