diff options
author | RoGreat <roguegreat@gmail.com> | 2024-04-12 22:43:54 -0500 |
---|---|---|
committer | RoGreat <roguegreat@gmail.com> | 2024-04-12 22:43:54 -0500 |
commit | 4c7b61ce7918eb8d0cae28e0f7fff571593327d5 (patch) | |
tree | bce58e33c4c1c47b8c01b098e1a36aafb5878e32 /pkgs/applications/video/streamlink-twitch-gui | |
parent | 1c9801b1c18c42af0955b8467265ebeb7742cb77 (diff) |
streamlink-twitch-gui-bin: copyDesktopItems
Diffstat (limited to 'pkgs/applications/video/streamlink-twitch-gui')
-rw-r--r-- | pkgs/applications/video/streamlink-twitch-gui/bin.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/video/streamlink-twitch-gui/bin.nix b/pkgs/applications/video/streamlink-twitch-gui/bin.nix index f425f50b249e4..543b2b524708f 100644 --- a/pkgs/applications/video/streamlink-twitch-gui/bin.nix +++ b/pkgs/applications/video/streamlink-twitch-gui/bin.nix @@ -1,6 +1,7 @@ { autoPatchelfHook , fetchurl , lib +, copyDesktopItems , makeDesktopItem , makeWrapper , stdenv @@ -52,6 +53,7 @@ stdenv.mkDerivation rec { alsa-lib autoPatchelfHook cairo + copyDesktopItems cups.lib dbus.lib expat @@ -98,7 +100,6 @@ stdenv.mkDerivation rec { icons/icon-"$res".png \ $out/share/icons/hicolor/"$res"x"$res"/apps/${basename}.png done - ln -s $desktopItem/share/applications $out/share/ runHook postInstall ''; @@ -110,14 +111,14 @@ stdenv.mkDerivation rec { ) ''; - desktopItem = makeDesktopItem { + desktopItems = [(makeDesktopItem { name = basename; exec = basename; icon = basename; desktopName = "Streamlink Twitch GUI"; genericName = meta.description; categories = [ "AudioVideo" "Network" ]; - }; + })]; meta = with lib; { description = "Twitch.tv browser for Streamlink"; |