nicotine-plus: install .desktop file

This commit is contained in:
Emery Hemingway 2021-12-29 22:18:27 +01:00
parent 4ceea6850a
commit 3197830cbe

View File

@ -19,8 +19,11 @@ python3Packages.buildPythonApplication rec {
propagatedBuildInputs = [ gtk3 gdk-pixbuf gobject-introspection ]
++ (with python3Packages; [ pygobject3 ]);
postInstall = ''
mv $out/bin/nicotine $out/bin/nicotine-plus
ln -s $out/bin/nicotine $out/bin/nicotine-plus
test -e $out/share/applications/org.nicotine_plus.Nicotine.desktop && exit 1
install -D data/org.nicotine_plus.Nicotine.desktop -t $out/share/applications
'';
preFixup = ''