From c8d03e6298dfca9ed340320ffb05acf30871b4d5 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Mon, 5 Feb 2018 18:12:47 -0600 Subject: [PATCH] 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. --- pkgs/stdenv/linux/make-bootstrap-tools.nix | 4 +--- 1 file changed, 1 insertion(+), 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 {