- Store resulting APK in hydra build artifacts

- Make nixpkgs configurable in the test examples
This commit is contained in:
Sander van der Burg 2013-03-05 15:39:51 +01:00
parent 31b19d39f3
commit ed6529ea44
2 changed files with 9 additions and 2 deletions

View File

@ -113,6 +113,11 @@ stdenv.mkDerivation {
"cp -av build/iphone/build/* $out"
else if target == "iphone" then ""
else throw "Target: ${target} is not supported!"}
${if target == "android" then ''
mkdir -p $out/nix-support
echo "file binary-dist $(ls $out/*.apk)" > $out/nix-support/hydra-build-products
'' else ""}
'';
failureHook = stdenv.lib.optionalString (release && target == "iphone") deleteKeychain;

View File

@ -1,6 +1,8 @@
{ nixpkgs ? <nixpkgs> }:
let
pkgs = import <nixpkgs> {};
pkgs_i686 = import <nixpkgs> { system = "i686-linux"; };
pkgs = import nixpkgs {};
pkgs_i686 = import nixpkgs { system = "i686-linux"; };
in
rec {
titaniumenv = import ./.. {