Make xcode version configurable

This commit is contained in:
Sander van der Burg 2014-01-13 14:24:48 +01:00
parent dca1c4afb0
commit 25bd160ca8

@ -1,9 +1,11 @@
{pkgs, pkgs_i686}:
{pkgs, pkgs_i686, xcodeVersion ? "5.0"}:
rec {
androidenv = pkgs.androidenv;
xcodeenv = if pkgs.stdenv.system == "x86_64-darwin" then pkgs.xcodeenv else null;
xcodeenv = if pkgs.stdenv.system == "x86_64-darwin" then pkgs.xcodeenv.override {
version = xcodeVersion;
} else null;
titaniumsdk = import ./titaniumsdk.nix {
inherit (pkgs) stdenv fetchurl unzip makeWrapper python jdk;