diff options
author | Will Dietz <w@wdtz.org> | 2018-02-05 18:12:47 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-02-13 09:44:57 -0600 |
commit | c8d03e6298dfca9ed340320ffb05acf30871b4d5 (patch) | |
tree | a948ff2382e49d393311d79ff61ec7337e70b119 | |
parent | 9bc8127dc3cb2354851d8f6859b82ca67c4fe2b8 (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.
-rw-r--r-- | pkgs/stdenv/linux/make-bootstrap-tools.nix | 4 |
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 { |