From e1eb55deae501bfc19b49e39f71a582f6a042603 Mon Sep 17 00:00:00 2001
From: Tim Engler <engler@gmail.com>
Date: Sat, 30 Jun 2018 15:16:10 +0800
Subject: [PATCH] android-studio: added libGL as a dependency

Without it, when starting an android emulator in some cases results in the
cryptic, "KVM is required to run this AVD. Unknown Error"

Fixes #41703
---
 pkgs/applications/editors/android-studio/common.nix | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pkgs/applications/editors/android-studio/common.nix b/pkgs/applications/editors/android-studio/common.nix
index a165fad370ec..8a536bad9c48 100644
--- a/pkgs/applications/editors/android-studio/common.nix
+++ b/pkgs/applications/editors/android-studio/common.nix
@@ -16,6 +16,7 @@
 , fontconfig
 , freetype
 , libpulseaudio
+, libGL
 , libX11
 , libXext
 , libXi
@@ -97,6 +98,7 @@ let
           # For Android emulator
           libpulseaudio
           libX11
+          libGL
 
           # For GTKLookAndFeel
           gtk2