mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 01:02:20 +00:00
apotris: actually install desktop file
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
libxi,
|
||||
libxscrnsaver,
|
||||
makeDesktopItem,
|
||||
copyDesktopItems,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -48,6 +49,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
cmake
|
||||
pkg-config
|
||||
xxd
|
||||
copyDesktopItems
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@@ -70,15 +72,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
desktopItem = makeDesktopItem {
|
||||
name = "Apotris";
|
||||
exec = "Apotris";
|
||||
comment = "A block stacking game";
|
||||
desktopName = "Apotris";
|
||||
categories = [
|
||||
"Game"
|
||||
];
|
||||
};
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "Apotris";
|
||||
exec = "Apotris";
|
||||
comment = "A block stacking game";
|
||||
desktopName = "Apotris";
|
||||
categories = [
|
||||
"Game"
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Block stacking game";
|
||||
|
||||
Reference in New Issue
Block a user