summaryrefslogtreecommitdiffstats
path: root/pkgs/stdenv/linux/make-bootstrap-tools.nix
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-02-05 18:12:47 -0600
committerWill Dietz <w@wdtz.org>2018-02-13 09:44:57 -0600
commitc8d03e6298dfca9ed340320ffb05acf30871b4d5 (patch)
treea948ff2382e49d393311d79ff61ec7337e70b119 /pkgs/stdenv/linux/make-bootstrap-tools.nix
parent9bc8127dc3cb2354851d8f6859b82ca67c4fe2b8 (diff)
make-bootstrap-tools: grab libc from stdenv.cc.libc
This is the same in current cases AFAICT, other than uses musl instead of glibc when musl-native.
Diffstat (limited to 'pkgs/stdenv/linux/make-bootstrap-tools.nix')
-rw-r--r--pkgs/stdenv/linux/make-bootstrap-tools.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/stdenv/linux/make-bootstrap-tools.nix b/pkgs/stdenv/linux/make-bootstrap-tools.nix
index b659e259ee1a..b0c4b284f75a 100644
--- a/pkgs/stdenv/linux/make-bootstrap-tools.nix
+++ b/pkgs/stdenv/linux/make-bootstrap-tools.nix
@@ -4,9 +4,7 @@
let
pkgs = import ../../.. { inherit localSystem crossSystem; };
- libc = if pkgs.hostPlatform != pkgs.buildPlatform
- then pkgs.libcCross
- else pkgs.glibc;
+ libc = pkgs.stdenv.cc.libc;
in with pkgs; rec {