lockbook-desktop: fix missing libxkbcommon at runtime; build lockbook-desktop crate
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user