···3939 comment = "Kode Studio is an IDE for Kha based on Visual Studio Code";4040 desktopName = "Kode Studio";4141 genericName = "Text Editor";4242- categories = "GNOME;GTK;Utility;TextEditor;Development;";4242+ categories = [ "GNOME" "GTK" "Utility" "TextEditor" "Development" ];4343 };44444545 sourceRoot = ".";
···5353 comment = "A game in which you build and maintain factories.";5454 exec = "factorio";5555 icon = "factorio";5656- type = "Application";5757- categories = "Game";5656+ categories = [ "Game" ];5857 };59586059 branch = if experimental then "experimental" else "stable";
+1-1
pkgs/games/fish-fillets-ng/default.nix
···2222 icon = "fish-fillets-ng";2323 desktopName = "Fish Fillets";2424 comment = "Puzzle game about witty fish saving the world sokoban-style";2525- categories = "Game;LogicGame;";2525+ categories = [ "Game" "LogicGame" ];2626 }) ];27272828 postInstall = ''
···135135 desktopName = "Unvanquished";136136 comment = "FPS/RTS Game - Aliens vs. Humans";137137 icon = "unvanquished";138138- terminal = false;139138 exec = "unvanquished";140140- categories = "Game;ActionGame;StrategyGame;";141141- # May or may not work139139+ categories = [ "Game" "ActionGame" "StrategyGame" ];142140 prefersNonDefaultGPU = true;143143- fileValidation = false; # it doesn't like PrefersNonDefaultGPU144144- # yes, PrefersNonDefaultGPU is standard:145145- # https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html146141 })147142 (makeDesktopItem {148143 name = "net.unvanquished.UnvanquishedProtocolHandler.desktop";149144 desktopName = "Unvanquished (protocol handler)";150145 noDisplay = true;151151- terminal = false;152146 exec = "unvanquished -connect %u";153153- mimeType = "x-scheme-handler/unv";154154- # May or may not work147147+ mimeTypes = [ "x-scheme-handler/unv" ];155148 prefersNonDefaultGPU = true;156156- fileValidation = false; # it doesn't like PrefersNonDefaultGPU157149 })158150 ];159151
+1-1
pkgs/games/ut2004/wrapper.nix
···2727 desktopName = "Unreal Tournament 2004";2828 comment = "A first-person shooter video game developed by Epic Games and Digital Extreme";2929 genericName = "First-person shooter";3030- categories = "Game;";3030+ categories = [ "Game" ];3131 exec = "ut2004";3232 };3333
+1-2
pkgs/games/vintagestory/default.nix
···4747 exec = "vintagestory";4848 icon = "vintagestory";4949 comment = "Innovate and explore in a sandbox world";5050- type = "Application";5151- categories = "Game;";5050+ categories = [ "Game" ];5251 };53525453 installPhase = ''
+1-2
pkgs/games/worldofgoo/default.nix
···88 desktopItem = makeDesktopItem {99 desktopName = "World of Goo";1010 genericName = "World of Goo";1111- categories = "Game;";1111+ categories = [ "Game" ];1212 exec = "WorldOfGoo.bin.${arch}";1313 icon = "2dboy-worldofgoo";1414 name = "worldofgoo";1515- type = "Application";1615 };17161817in