From 9f4fda9f6e25dcee5a9a8c026d22b01ebdd24b60 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Tue, 1 Oct 2024 23:09:12 +0200 Subject: [PATCH] vintagestory: fix `desktopItems` --- pkgs/games/vintagestory/default.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/pkgs/games/vintagestory/default.nix b/pkgs/games/vintagestory/default.nix index b32417d7754b..1c5c17189511 100644 --- a/pkgs/games/vintagestory/default.nix +++ b/pkgs/games/vintagestory/default.nix @@ -48,14 +48,16 @@ stdenv.mkDerivation rec { libXi ])); - desktopItems = makeDesktopItem { - name = "vintagestory"; - desktopName = "Vintage Story"; - exec = "vintagestory"; - icon = "vintagestory"; - comment = "Innovate and explore in a sandbox world"; - categories = [ "Game" ]; - }; + desktopItems = [ + (makeDesktopItem { + name = "vintagestory"; + desktopName = "Vintage Story"; + exec = "vintagestory"; + icon = "vintagestory"; + comment = "Innovate and explore in a sandbox world"; + categories = [ "Game" ]; + }) + ]; installPhase = '' runHook preInstall