slint-viewer: add required runtime dependencies
This commit is contained in:
@@ -1,13 +1,20 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
rustPlatform,
|
||||
fetchCrate,
|
||||
|
||||
fontconfig,
|
||||
libGL,
|
||||
libx11,
|
||||
libxcursor,
|
||||
libxi,
|
||||
libxkbcommon,
|
||||
pkg-config,
|
||||
qt6,
|
||||
wayland,
|
||||
|
||||
autoPatchelfHook,
|
||||
nix-update-script,
|
||||
versionCheckHook,
|
||||
}:
|
||||
@@ -30,10 +37,21 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
pkg-config
|
||||
qt6.wrapQtAppsHook
|
||||
];
|
||||
|
||||
# stolen from the surfer package
|
||||
runtimeDependencies = lib.optionals stdenv.hostPlatform.isLinux [
|
||||
libGL
|
||||
libx11
|
||||
libxcursor
|
||||
libxi
|
||||
libxkbcommon
|
||||
wayland
|
||||
];
|
||||
|
||||
# There are no tests
|
||||
doCheck = false;
|
||||
doInstallCheck = true;
|
||||
|
||||
Reference in New Issue
Block a user