about summary refs log tree commit diff
path: root/pkgs/development/mobile
diff options
context:
space:
mode:
authorSander van der Burg <svanderburg@gmail.com>2013-03-13 15:09:13 +0100
committerSander van der Burg <svanderburg@gmail.com>2013-03-13 15:09:13 +0100
commit0f0e4b856a3330af13f543b2c147d2b4c55a647a (patch)
tree6baec4b3ba554014e3a042aebf507c9f1fa82944 /pkgs/development/mobile
parent15e1daf0c32495908442110cea09f7265e73abfb (diff)
downloadnixlib-0f0e4b856a3330af13f543b2c147d2b4c55a647a.tar
nixlib-0f0e4b856a3330af13f543b2c147d2b4c55a647a.tar.gz
nixlib-0f0e4b856a3330af13f543b2c147d2b4c55a647a.tar.bz2
nixlib-0f0e4b856a3330af13f543b2c147d2b4c55a647a.tar.lz
nixlib-0f0e4b856a3330af13f543b2c147d2b4c55a647a.tar.xz
nixlib-0f0e4b856a3330af13f543b2c147d2b4c55a647a.tar.zst
nixlib-0f0e4b856a3330af13f543b2c147d2b4c55a647a.zip
Make system identifier configurable (except for iphone targets)
Diffstat (limited to 'pkgs/development/mobile')
-rw-r--r--pkgs/development/mobile/titaniumenv/examples/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/mobile/titaniumenv/examples/default.nix b/pkgs/development/mobile/titaniumenv/examples/default.nix
index a2146d9b97ce..f5fbf79e86d3 100644
--- a/pkgs/development/mobile/titaniumenv/examples/default.nix
+++ b/pkgs/development/mobile/titaniumenv/examples/default.nix
@@ -1,7 +1,9 @@
-{ nixpkgs ? <nixpkgs> }:
+{ nixpkgs ? <nixpkgs>
+, system ? builtins.currentSystem
+}:
 
 let
-  pkgs = import nixpkgs {};
+  pkgs = import nixpkgs { inherit system; };
   pkgs_darwin_x86_64 = import nixpkgs { system = "x86_64-darwin"; };
 in
 rec {