waydroid-helper: fix dependencies and `WrapperArgs` issues (#412027)

Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
Co-authored-by: Shafa'el Zmeyev <shafael170@gmail.com>

authored by Tawsif Hossain Shafi Aleksana Shafa'el Zmeyev and committed by GitHub b6cd58e6 59f474b3

+6 -3
+6 -3
pkgs/by-name/wa/waydroid-helper/package.nix
··· 16 16 dbus, 17 17 systemd, 18 18 bash, 19 + fakeroot, 19 20 gobject-introspection, 20 21 }: 21 22 ··· 41 42 # com.jaoushingan.WaydroidHelper.desktop: component-name-missing, description-first-para-too-short 42 43 # url-homepage-missing, desktop-app-launchable-omitted, content-rating-missing, developer-info-missing 43 44 sed -i '/test(/{N;/Validate appstream file/!b;:a;N;/)/!ba;d}' data/meson.build 44 - substituteInPlace waydroid_helper/waydroid-cli.in \ 45 - --replace-fail "/bin/bash" "${bash}/bin/bash" 46 45 ''; 47 46 48 47 nativeBuildInputs = [ ··· 61 60 libxml2 62 61 libadwaita 63 62 dbus 63 + bash 64 64 systemd 65 65 ]; 66 66 ··· 78 78 79 79 dontWrapGApps = true; 80 80 81 - makeWrapperArgs = [ "\${gappsWrapperArgs[@]}" ]; 81 + makeWrapperArgs = [ 82 + "\${gappsWrapperArgs[@]}" 83 + "--prefix PATH : ${lib.makeBinPath [ fakeroot ]}" 84 + ]; 82 85 83 86 postInstallCheck = '' 84 87 mesonCheckPhase