mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
Make system identifier configurable (except for iphone targets)
This commit is contained in:
parent
15e1daf0c3
commit
0f0e4b856a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user