diff options
author | Emery Hemingway <ehmry@posteo.net> | 2021-12-29 22:18:27 +0100 |
---|---|---|
committer | Emery Hemingway <ehmry@posteo.net> | 2021-12-29 22:18:27 +0100 |
commit | 3197830cbed3cb93e76f171ad320c97be13293d5 (patch) | |
tree | e4c267de8aa0375ebeaec73d64f2a72e7d59154c /pkgs/applications/networking/soulseek | |
parent | 4ceea6850a28fa3ad4d922f8676ba87c383f3d25 (diff) |
nicotine-plus: install .desktop file
Diffstat (limited to 'pkgs/applications/networking/soulseek')
-rw-r--r-- | pkgs/applications/networking/soulseek/nicotine-plus/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/networking/soulseek/nicotine-plus/default.nix b/pkgs/applications/networking/soulseek/nicotine-plus/default.nix index c4d014530cc33..34579ec8ba77c 100644 --- a/pkgs/applications/networking/soulseek/nicotine-plus/default.nix +++ b/pkgs/applications/networking/soulseek/nicotine-plus/default.nix @@ -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 = '' |