xaos: fix desktop file install

(cherry picked from commit 95533ecf3d)
This commit is contained in:
coolcuber
2026-07-02 23:40:45 -04:00
committed by github-actions[bot]
parent b6a627afa7
commit fd8e6b2402

View File

@@ -28,6 +28,8 @@ stdenv.mkDerivation (finalAttrs: {
qt6.qmake
qt6.qttools
qt6.wrapQtAppsHook
]
++ lib.optionals stdenv.hostPlatform.isLinux [
copyDesktopItems
];
@@ -53,7 +55,7 @@ stdenv.mkDerivation (finalAttrs: {
"QMAKE_APPLE_DEVICE_ARCHS = ${if stdenv.hostPlatform.isAarch64 then "arm64" else "x86_64"}"
'';
desktopItems = [ "xdg/xaos.desktop" ];
desktopItems = [ "xdg/io.github.xaos_project.XaoS.desktop" ];
postInstall = ''
mkdir -p "${datapath}"