about summary refs log tree commit diff
path: root/pkgs/stdenv/darwin
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-10-14 09:18:59 +0200
committerVladimír Čunát <vcunat@gmail.com>2016-10-14 09:21:38 +0200
commite0210d7cbff0f2c0a1308bc3cb762e552234d0e1 (patch)
tree56cc4afa4201ac923d2a82ab7c6d643cbc01134d /pkgs/stdenv/darwin
parentfe518a733fbd92fc4973e0580bca29838fe0b69e (diff)
downloadnixlib-e0210d7cbff0f2c0a1308bc3cb762e552234d0e1.tar
nixlib-e0210d7cbff0f2c0a1308bc3cb762e552234d0e1.tar.gz
nixlib-e0210d7cbff0f2c0a1308bc3cb762e552234d0e1.tar.bz2
nixlib-e0210d7cbff0f2c0a1308bc3cb762e552234d0e1.tar.lz
nixlib-e0210d7cbff0f2c0a1308bc3cb762e552234d0e1.tar.xz
nixlib-e0210d7cbff0f2c0a1308bc3cb762e552234d0e1.tar.zst
nixlib-e0210d7cbff0f2c0a1308bc3cb762e552234d0e1.zip
tested job: fixup evaluation after 5dadc3a
I believe hardcoding system to builtins.currentSystem isn't very good,
as e.g. Hydra surely evaluates on Linux only...
Diffstat (limited to 'pkgs/stdenv/darwin')
-rw-r--r--pkgs/stdenv/darwin/make-bootstrap-tools.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/stdenv/darwin/make-bootstrap-tools.nix b/pkgs/stdenv/darwin/make-bootstrap-tools.nix
index c031c781c82c..11a52eb423e9 100644
--- a/pkgs/stdenv/darwin/make-bootstrap-tools.nix
+++ b/pkgs/stdenv/darwin/make-bootstrap-tools.nix
@@ -1,6 +1,6 @@
-{ pkgspath ? ../../.., test-pkgspath ? pkgspath }:
+{ pkgspath ? ../../.., test-pkgspath ? pkgspath, system ? builtins.currentSystem }:
 
-with import pkgspath { system = builtins.currentSystem; };
+with import pkgspath { inherit system; };
 
 let
   llvmPackages = llvmPackages_37;