Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2cc644411361
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c987fe408d49
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Mar 23, 2019

  1. Copy the full SHA
    af4ad24 View commit details
  2. Merge pull request #58150 from srhb/anbox-i686

    anbox: Prevent eval failure on non-existent arches
    srhb authored Mar 23, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c987fe4 View commit details
Showing with 7 additions and 10 deletions.
  1. +7 −10 pkgs/os-specific/linux/anbox/default.nix
17 changes: 7 additions & 10 deletions pkgs/os-specific/linux/anbox/default.nix
Original file line number Diff line number Diff line change
@@ -97,31 +97,28 @@ stdenv.mkDerivation rec {

passthru.image = let
imgroot = "https://build.anbox.io/android-images";
arches = {
armv7l-linux = {
in
{
armv7l-linux = fetchurl {
url = imgroot + "/2017/06/12/android_1_armhf.img";
sha256 = "1za4q6vnj8wgphcqpvyq1r8jg6khz7v6b7h6ws1qkd5ljangf1w5";
};
aarch64-linux = {
aarch64-linux = fetchurl {
url = imgroot + "/2017/08/04/android_1_arm64.img";
sha256 = "02yvgpx7n0w0ya64y5c7bdxilaiqj9z3s682l5s54vzfnm5a2bg5";
};
x86_64-linux = {
x86_64-linux = fetchurl {
url = imgroot + "/2018/07/19/android_amd64.img";
sha256 = "1jlcda4q20w30cm9ikm6bjq01p547nigik1dz7m4v0aps4rws13b";
};
};
in
fetchurl {
inherit (arches.${stdenv.system}) url sha256;
};
}.${stdenv.system} or null;

meta = with stdenv.lib; {
homepage = https://anbox.io;
description = "Android in a box.";
license = licenses.gpl2;
maintainers = with maintainers; [ edwtjo ];
platforms = platforms.linux;
platforms = [ "armv7l-linux" "aarch64-linux" "x86-64-linux" ];
};

}