3
0
Fork 0
forked from mirrors/nixpkgs

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.
This commit is contained in:
Will Dietz 2018-02-05 18:12:47 -06:00
parent 9bc8127dc3
commit c8d03e6298

View file

@ -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 {