From f51406554ea36d5f40b2a27af428adfba6553f71 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sat, 20 Jan 2024 09:50:02 +0100 Subject: [PATCH] genymotion: add more runtime dependencies --- pkgs/development/mobile/genymotion/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/mobile/genymotion/default.nix b/pkgs/development/mobile/genymotion/default.nix index b3ebaf713058..a70000ca56a5 100644 --- a/pkgs/development/mobile/genymotion/default.nix +++ b/pkgs/development/mobile/genymotion/default.nix @@ -1,5 +1,6 @@ { stdenv, lib, fetchurl, makeWrapper, which, zlib, libGL, glib, xorg, libxkbcommon , xdg-utils, libXrender, fontconfig, freetype, systemd, libpulseaudio +, cairo, gdk-pixbuf, gtk3, pixman # For glewinfo , libXmu, libXi, libXext }: @@ -19,6 +20,10 @@ let freetype systemd libpulseaudio + cairo + gdk-pixbuf + gtk3 + pixman ]; libPath = lib.makeLibraryPath packages; in @@ -31,8 +36,7 @@ stdenv.mkDerivation rec { sha256 = "sha256-CS1A9udt47bhgnYJqqkCG3z4XaPVHmz417VTsY2ccOA="; }; - nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ which xdg-utils ]; + nativeBuildInputs = [ makeWrapper which xdg-utils ]; unpackPhase = '' mkdir -p phony-home $out/share/applications @@ -73,6 +77,8 @@ stdenv.mkDerivation rec { patchExecutable genymotion patchExecutable player + patchExecutable qemu/x86_64/bin/qemu-img + patchExecutable qemu/x86_64/bin/qemu-system-x86_64 patchTool adb patchTool aapt