stage1 boot: use stdenv.cc.libc

(cherry picked from commit d3ae884c9eeb4a6f66ac4e57764c04db16ea7c71)
This commit is contained in:
Will Dietz 2018-03-24 12:11:02 -05:00 committed by Matthew Bauer
parent 8868126cd2
commit 2d0ec8b288

View File

@ -147,7 +147,7 @@ let
${config.boot.initrd.extraUtilsCommands}
# Copy ld manually since it isn't detected correctly
cp -pv ${pkgs.glibc.out}/lib/ld*.so.? $out/lib
cp -pv ${pkgs.stdenv.cc.libc.out}/lib/ld*.so.? $out/lib
# Copy all of the needed libraries
find $out/bin $out/lib -type f | while read BIN; do