about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2024-05-03 20:47:41 +0200
committerGitHub <noreply@github.com>2024-05-03 20:47:41 +0200
commit158079242d3d8cd1bfb9a233a88cc534cdf0ce3f (patch)
tree44abb26807c218edab177bf57a2525cedc8563ba
parentd716a0aa2bd0ee610308f4dbaa7ef938e8dc50e4 (diff)
parent4265a82cba19b985cce23eff1a19d84de7712456 (diff)
Merge pull request #308728 from wegank/genymotion-fix
genymotion: fix runtime error with qemu
-rw-r--r--pkgs/development/mobile/genymotion/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/mobile/genymotion/default.nix b/pkgs/development/mobile/genymotion/default.nix
index a70000ca56a5a..a2e81531c174a 100644
--- a/pkgs/development/mobile/genymotion/default.nix
+++ b/pkgs/development/mobile/genymotion/default.nix
@@ -66,7 +66,8 @@ stdenv.mkDerivation rec {
       patchInterpreter "$1"
       wrapProgram "$out/libexec/genymotion/$1" \
         --set "LD_LIBRARY_PATH" "${libPath}" \
-        --unset "QML2_IMPORT_PATH"
+        --unset "QML2_IMPORT_PATH" \
+        --unset "QT_PLUGIN_PATH"
     }
 
     patchTool() {
@@ -77,8 +78,8 @@ stdenv.mkDerivation rec {
 
     patchExecutable genymotion
     patchExecutable player
-    patchExecutable qemu/x86_64/bin/qemu-img
-    patchExecutable qemu/x86_64/bin/qemu-system-x86_64
+    patchInterpreter qemu/x86_64/bin/qemu-img
+    patchInterpreter qemu/x86_64/bin/qemu-system-x86_64
 
     patchTool adb
     patchTool aapt