Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

loona_lol

2
Posts
1
Following
A member registered Sep 29, 2023

Recent community posts

(1 edit)

I managed to hack this together for the AppImage

default.nix
{ lib, makeWrapper, appimageTools }:

appimageTools.wrapType2 rec {

  pname = "Cider-2";

  version = "2.4.1";

  src = ./Cider.AppImage;

  extraInstallCommands = ''

    source "${makeWrapper}/nix-support/setup-hook"

    wrapProgram $out/bin/${pname} --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"

    install -m 444 -D ${src} -t $out/bin

  '';

  meta = with lib; {

    description = "New look into listening and enjoying Apple Music in style and performance";

    homepage = "https://github.com/ciderapp/Cider";

    license = licenses.agpl3Only;

    mainProgram = "cider";

    maintainers = [ maintainers.cigrainger ];

    platforms = [ "x86_64-linux" ];

  };

}

+1