mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 17:10:48 +00:00
dd89ec5785
Detailed changes: - android-sdk: update 24.0.1 -> 24.1.2 - android-platforms: add 5.1.1 - android-platform-tools: update 21 -> 22 - android-build-tools: update 21.1.2 -> 22.0.1 - android-support: update 21 -> 22.1.1 - android-support-repository: update 9 -> 14
27 lines
501 B
Bash
Executable file
27 lines
501 B
Bash
Executable file
#!/bin/sh -e
|
|
|
|
cat > sysimages.nix << "EOF"
|
|
# This file is generated from generate-sysimages.sh. DO NOT EDIT.
|
|
# Execute generate-sysimages.sh or fetch.sh to update the file.
|
|
{stdenv, fetchurl, unzip}:
|
|
|
|
let
|
|
buildSystemImage = args:
|
|
stdenv.mkDerivation (args // {
|
|
buildInputs = [ unzip ];
|
|
buildCommand = ''
|
|
mkdir -p $out
|
|
cd $out
|
|
unzip $src
|
|
'';
|
|
});
|
|
in
|
|
{
|
|
EOF
|
|
|
|
xsltproc generate-sysimages.xsl sys-img.xml >> sysimages.nix
|
|
|
|
cat >> sysimages.nix << "EOF"
|
|
}
|
|
EOF
|