- Store resulting APK in hydra build artifacts
- Make nixpkgs configurable in the test examples
This commit is contained in:
parent
31b19d39f3
commit
ed6529ea44
@ -113,6 +113,11 @@ stdenv.mkDerivation {
|
|||||||
"cp -av build/iphone/build/* $out"
|
"cp -av build/iphone/build/* $out"
|
||||||
else if target == "iphone" then ""
|
else if target == "iphone" then ""
|
||||||
else throw "Target: ${target} is not supported!"}
|
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;
|
failureHook = stdenv.lib.optionalString (release && target == "iphone") deleteKeychain;
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
|
{ nixpkgs ? <nixpkgs> }:
|
||||||
|
|
||||||
let
|
let
|
||||||
pkgs = import <nixpkgs> {};
|
pkgs = import nixpkgs {};
|
||||||
pkgs_i686 = import <nixpkgs> { system = "i686-linux"; };
|
pkgs_i686 = import nixpkgs { system = "i686-linux"; };
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
titaniumenv = import ./.. {
|
titaniumenv = import ./.. {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user