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

This commit is contained in:
parth
2026-07-06 19:16:34 -04:00
parent 9600ca6f94
commit b5f860d8f2
+2 -3
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
'';