Skip to content

Commit

Permalink
universal-android-debloater: link binary to to wayland and xkbcommon
Browse files Browse the repository at this point in the history
  • Loading branch information
lavafroth committed Apr 28, 2024
1 parent 7bb2ccd commit a83c782
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/by-name/un/universal-android-debloater/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
, freetype
, lib
, libglvnd
, libxkbcommon
, wayland
, makeWrapper
, mold
, pkg-config
Expand Down Expand Up @@ -47,7 +49,7 @@ rustPlatform.buildRustPackage rec {

postInstall = ''
wrapProgram $out/bin/uad-ng \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ fontconfig freetype libglvnd xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr ]} \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ fontconfig freetype libglvnd libxkbcommon wayland xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr ]} \
--suffix PATH : ${lib.makeBinPath [ android-tools ]}
'';

Expand All @@ -57,7 +59,7 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation";
license = licenses.gpl3Only;
mainProgram = "uad-ng";
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ lavafroth ];
platforms = platforms.linux;
};
}

0 comments on commit a83c782

Please sign in to comment.