Generate unique derivation names so that we can easily install them from a Nix channel
This commit is contained in:
parent
317fcd3b86
commit
dde4a92c5c
@ -27,12 +27,14 @@ rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
simulate_kitchensink_iphone = import ./simulate-kitchensink {
|
simulate_kitchensink_iphone = import ./simulate-kitchensink {
|
||||||
|
inherit (pkgs_darwin_x86_64) stdenv;
|
||||||
inherit (pkgs_darwin_x86_64.titaniumenv) xcodeenv;
|
inherit (pkgs_darwin_x86_64.titaniumenv) xcodeenv;
|
||||||
kitchensink = kitchensink_iphone;
|
kitchensink = kitchensink_iphone;
|
||||||
device = "iPhone";
|
device = "iPhone";
|
||||||
};
|
};
|
||||||
|
|
||||||
simulate_kitchensink_ipad = import ./simulate-kitchensink {
|
simulate_kitchensink_ipad = import ./simulate-kitchensink {
|
||||||
|
inherit (pkgs_darwin_x86_64) stdenv;
|
||||||
inherit (pkgs_darwin_x86_64.titaniumenv) xcodeenv;
|
inherit (pkgs_darwin_x86_64.titaniumenv) xcodeenv;
|
||||||
kitchensink = kitchensink_iphone;
|
kitchensink = kitchensink_iphone;
|
||||||
device = "iPad";
|
device = "iPad";
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{androidenv, kitchensink}:
|
{androidenv, kitchensink}:
|
||||||
|
|
||||||
androidenv.emulateApp {
|
androidenv.emulateApp {
|
||||||
name = "kitchensink";
|
name = "emulate-${kitchensink.name}";
|
||||||
app = kitchensink;
|
app = kitchensink;
|
||||||
platformVersion = "16";
|
platformVersion = "16";
|
||||||
useGoogleAPIs = true;
|
useGoogleAPIs = true;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{titaniumenv, fetchgit, target, androidPlatformVersions ? [ "11" ]}:
|
{titaniumenv, fetchgit, target, androidPlatformVersions ? [ "11" ]}:
|
||||||
|
|
||||||
titaniumenv.buildApp {
|
titaniumenv.buildApp {
|
||||||
name = "KitchenSink";
|
name = "KitchenSink-${target}";
|
||||||
appId = "com.appcelerator.kitchensink";
|
appId = "com.appcelerator.kitchensink";
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = https://github.com/appcelerator/KitchenSink.git;
|
url = https://github.com/appcelerator/KitchenSink.git;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{xcodeenv, kitchensink, device}:
|
{stdenv, xcodeenv, kitchensink, device}:
|
||||||
|
|
||||||
xcodeenv.simulateApp {
|
xcodeenv.simulateApp {
|
||||||
name = "kitchensink";
|
name = "simulate-${kitchensink.name}-${stdenv.lib.replaceChars [" " "(" ")"] ["_" "" ""] device}";
|
||||||
app = kitchensink;
|
app = kitchensink;
|
||||||
inherit device;
|
inherit device;
|
||||||
baseDir = "build/iphone/build/Debug-iphonesimulator";
|
baseDir = "build/iphone/build/Debug-iphonesimulator";
|
||||||
|
Loading…
Reference in New Issue
Block a user