Make system identifier configurable (except for iphone targets)

This commit is contained in:
Sander van der Burg 2013-03-13 15:09:13 +01:00
parent 15e1daf0c3
commit 0f0e4b856a

View file

@ -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 {