formatting

This commit is contained in:
mjallen18
2025-11-20 16:18:28 -06:00
parent babe314199
commit 53a64aaf52
8 changed files with 151 additions and 155 deletions

View File

@@ -1,20 +1,21 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, makeWrapper
, dbus
, libpulseaudio
, gtk4
, libadwaita
, glib
, bluez
, wayland
, libxkbcommon
, libGL
, vulkan-loader
, xorg
, gsettings-desktop-schemas
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
makeWrapper,
dbus,
libpulseaudio,
gtk4,
libadwaita,
glib,
bluez,
wayland,
libxkbcommon,
libGL,
vulkan-loader,
xorg,
gsettings-desktop-schemas,
}:
rustPlatform.buildRustPackage rec {
@@ -58,18 +59,20 @@ rustPlatform.buildRustPackage rec {
# Create wrapper script instead of wrapping in-place
postInstall = ''
mv $out/bin/librepods $out/bin/.librepods-unwrapped
makeWrapper $out/bin/.librepods-unwrapped $out/bin/librepods \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [
wayland
libxkbcommon
libGL
vulkan-loader
xorg.libX11
xorg.libXcursor
xorg.libXrandr
xorg.libXi
]}" \
--prefix LD_LIBRARY_PATH : "${
lib.makeLibraryPath [
wayland
libxkbcommon
libGL
vulkan-loader
xorg.libX11
xorg.libXcursor
xorg.libXrandr
xorg.libXi
]
}" \
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" \
--set GDK_BACKEND "wayland,x11"
'';
@@ -82,4 +85,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "librepods";
platforms = platforms.linux;
};
}
}