universal-android-debloater: allow darwin
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
fontconfig,
|
||||
freetype,
|
||||
lib,
|
||||
stdenv,
|
||||
libglvnd,
|
||||
libxkbcommon,
|
||||
makeWrapper,
|
||||
@@ -53,17 +54,19 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/uad-ng --prefix LD_LIBRARY_PATH : ${
|
||||
lib.makeLibraryPath [
|
||||
fontconfig
|
||||
freetype
|
||||
libglvnd
|
||||
libxkbcommon
|
||||
wayland
|
||||
libx11
|
||||
libxcursor
|
||||
libxi
|
||||
libxrandr
|
||||
]
|
||||
lib.makeLibraryPath (
|
||||
[
|
||||
fontconfig
|
||||
freetype
|
||||
libglvnd
|
||||
libxkbcommon
|
||||
libx11
|
||||
libxcursor
|
||||
libxi
|
||||
libxrandr
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [ wayland ]
|
||||
)
|
||||
} --suffix PATH : ${lib.makeBinPath [ android-tools ]}
|
||||
'';
|
||||
|
||||
@@ -76,6 +79,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
license = lib.licenses.gpl3Only;
|
||||
mainProgram = "uad-ng";
|
||||
maintainers = with lib.maintainers; [ lavafroth ];
|
||||
platforms = lib.platforms.linux;
|
||||
broken = with stdenv.hostPlatform; isDarwin && isx86_64;
|
||||
platforms = with lib.platforms; linux ++ darwin;
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user