lockbook-desktop: fix missing libxkbcommon at runtime; build lockbook-desktop crate

(cherry picked from commit b5f860d8f2)
This commit is contained in:
parth
2026-07-06 19:16:34 -04:00
committed by github-actions[bot]
parent 4b9d06c6ff
commit d7453cb8eb

View File

@@ -40,17 +40,17 @@ rustPlatform.buildRustPackage (finalAttrs: {
glib
gobject-introspection
gdk-pixbuf
libxkbcommon
];
runtimeDependencies = [
vulkan-loader
libxkbcommon
];
doCheck = false; # there are no cli tests
cargoBuildFlags = [
"--package"
"lockbook-linux"
"lockbook-desktop"
];
desktopItems = makeDesktopItem {
@@ -67,7 +67,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
};
postInstall = ''
mv $out/bin/lockbook-linux $out/bin/lockbook-desktop
install -D docs/graphics/logo.svg $out/share/icons/hicolor/scalable/apps/lockbook.svg
'';