Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ pkgs ? import <nixpkgs> { }
, system ? pkgs.stdenv.system
, channel ? "stable"
}:

Expand All @@ -9,13 +8,13 @@ let

isSupported = _: pkg:
(!lib.isDerivation pkg) ||
lib.meta.availableOn hostPlatform pkg ||
lib.meta.availableOn stdenv.hostPlatform pkg ||
config.allowUnsupportedSystem ||
builtins.getEnv "NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM" == "1";

filterIsSupported = lib.filterAttrs isSupported;

channelPkgs = rec {
channelPkgs = {
stable = filterIsSupported (androidSdk.callPackage ./channels/stable { });
beta = filterIsSupported (androidSdk.callPackage ./channels/beta { });
preview = filterIsSupported (androidSdk.callPackage ./channels/preview { });
Expand Down
2 changes: 2 additions & 0 deletions pkgs/android/emulator.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
, libbsd
, libcxx
, libdrm
, libgbm
, libpulseaudio
, libtiff
, libudev0-shim
Expand Down Expand Up @@ -67,6 +68,7 @@ mkGeneric (lib.optionalAttrs stdenv.isLinux
libbsd
libcxx
libdrm
libgbm
libpulseaudio
libtiff
libudev0-shim
Expand Down
Loading