nixpkgs/pkgs/applications/editors
Maximilian Bosch 17dcd33e00
android-studio: set ANDROID_EMULATOR_USE_SYSTEM_LIBS
This change sets an environment variable to ensure that Android Studio
uses the correct drivers to avoid any breackage when trying to run a
native application on a virtual device.

Without proper configuration `android-studio` would be unable to load
the drivers for the AVD and yield messages like this:

```
3:32 PM	Executing tasks: [:app:assembleDebug]

3:32 PM	Emulator: libGL error: unable to load driver: i965_dri.so

3:32 PM	Emulator: libGL error: driver pointer missing

3:32 PM	Emulator: libGL error: failed to load driver: i965

3:32 PM	Emulator: libGL error: unable to load driver: i965_dri.so

3:32 PM	Emulator: libGL error: driver pointer missing

3:32 PM	Emulator: libGL error: failed to load driver: i965

3:32 PM	Emulator: libGL error: unable to load driver: swrast_dri.so

3:32 PM	Emulator: libGL error: failed to load driver: swrast

3:32 PM	Emulator: X Error of failed request:  BadValue (integer parameter out of range for operation)

3:32 PM	Emulator: Major opcode of failed request:  155 (GLX)

3:32 PM	Emulator: Minor opcode of failed request:  24 (X_GLXCreateNewContext)

3:32 PM	Emulator: Value in failed request:  0x0

3:32 PM	Emulator: Serial number of failed request:  64

3:32 PM	Emulator: Current serial number in output stream:  65

3:32 PM	Emulator: emulator: ERROR: Missing initial data partition file: /home/ma27/.android/avd/Nexus_5X_API_27.avd/userdata.img

3:32 PM	Emulator: Process finished with exit code 1

3:32 PM	Gradle build finished with 2 warnings(s) in 6s 378ms
```

For further reference have a look at the following StackOverflow
message: https://stackoverflow.com/a/40790339
2018-01-14 18:33:52 +01:00
..
aewan
android-studio android-studio: set ANDROID_EMULATOR_USE_SYSTEM_LIBS 2018-01-14 18:33:52 +01:00
aseprite aseprite-unfree: 1.2.2 -> 1.2.4 2017-11-29 08:18:12 +00:00
atom atom-beta: 1.23.0-beta0->1.24.0-beta1 2017-12-18 17:30:41 +03:00
bluefish
brackets
bvi
bviplus
codeblocks
deadpixi-sam
dhex
eclipse eclipse-plugin-spotbugs: 3.1.0 -> 3.1.1 2018-01-06 22:12:52 +01:00
ed ed: enable check on darwin 2017-12-04 23:31:48 +00:00
edbrowse
edit
elvis
emacs emacs: enable vfork on darwin 2017-12-16 22:25:42 +00:00
emacs-modes font-lock-plus: 2017-0222.1755 -> 20180101.25 2018-01-03 19:55:38 +01:00
flpsed
focuswriter focuswriter: 1.6.7 -> 1.6.8 2017-12-31 17:39:40 +01:00
fte
geany treewide: homepage+src updates (found by repology, #33263) 2018-01-05 20:42:46 +01:00
gobby misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs 2017-09-21 15:49:53 -04:00
hecate
heme
hexcurse
hexedit
ht
jedit
jetbrains phpstorm: 2017.3 -> 2017.3.2 2017-12-26 10:13:44 +00:00
joe
jucipp treewide: Depend on stdenv.cc.bintools instead of binutils directly 2017-11-05 17:10:53 -05:00
jupp
kakoune
kdevelop5 kdevplatform: enable parallel building 2017-11-26 07:45:09 +00:00
kile
kodestudio
leafpad misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs 2017-09-21 15:49:53 -04:00
leo-editor
lighttable
manuskript
mg mg: 20161005 -> 20170828 2017-09-25 14:02:37 +02:00
moe
monodevelop treewide: Manual fix more pkg-config build-inputs 2017-09-21 15:49:54 -04:00
music/tuxguitar
nano nano: 2.9.1 -> 2.9.2 2018-01-06 17:44:08 +02:00
ne
nedit Change many homepage urls from http to https #30636 2017-11-10 22:13:46 +01:00
neovim neovim: add viAlias argument 2017-12-16 15:38:36 +01:00
netbeans
notepadqq Bumping to 1.2.0 2017-10-23 23:34:56 +10:00
nvi
nvpy
rednotebook rednotebook: 1.8.1 -> 2.3 2017-11-07 00:18:30 +00:00
rstudio treewide: homepage+src updates (found by repology, #33263) 2018-01-05 20:42:46 +01:00
scite
sigil
sublime
sublime3 sublime3: Use consistent program name (#31720) 2017-11-16 11:01:05 +00:00
supertux-editor misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs 2017-09-21 15:49:53 -04:00
tecoc darwin: Disable another bunch of packages never having built successfully 2017-09-22 19:49:57 +03:00
texmacs
texmaker
texstudio texstudio: 2.12.4 -> 2.12.6 2017-11-23 20:28:07 +01:00
textadept textadept: fix build 2017-11-04 13:56:32 +00:00
texworks texworks: init at 0.6.2 2017-09-21 00:58:49 +02:00
tiled
tweak
typora typora: 0.9.31 -> 0.9.38 2017-11-05 18:53:29 +00:00
uemacs
vanubi vanubi: use more recent vala 2017-12-19 17:25:52 +01:00
vbindiff treewide: homepage+src updates (found by repology, #33263) 2018-01-05 20:42:46 +01:00
vim vim: 8.0.1245 -> 8.0.1257 2017-11-03 21:25:41 +02:00
vis
vscode vscode: 1.19.0 -> 1.19.1 2017-12-30 16:38:38 -05:00
vscode-with-extensions
wily
wxhexeditor
yi
zed zed: replace npm2nix with node2nix 2017-11-08 16:03:01 +01:00
zile zile: fix evaluation 2017-10-08 11:53:56 +01:00