summary refs log tree commit diff
path: root/nixos/modules/system/boot/stage-1.nix
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-03-24 12:11:02 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2018-10-30 19:47:06 -0500
commit2d0ec8b28873bc6b933b10ed2aa6411237a625f5 (patch)
tree3f7a1dc62a35976f677ff7c4288297de35f891f6 /nixos/modules/system/boot/stage-1.nix
parent8868126cd230341fc8da556eb8fd17af19fadb87 (diff)
downloadnixpkgs-2d0ec8b28873bc6b933b10ed2aa6411237a625f5.tar
nixpkgs-2d0ec8b28873bc6b933b10ed2aa6411237a625f5.tar.gz
nixpkgs-2d0ec8b28873bc6b933b10ed2aa6411237a625f5.tar.bz2
nixpkgs-2d0ec8b28873bc6b933b10ed2aa6411237a625f5.tar.lz
nixpkgs-2d0ec8b28873bc6b933b10ed2aa6411237a625f5.tar.xz
nixpkgs-2d0ec8b28873bc6b933b10ed2aa6411237a625f5.tar.zst
nixpkgs-2d0ec8b28873bc6b933b10ed2aa6411237a625f5.zip
stage1 boot: use stdenv.cc.libc
(cherry picked from commit d3ae884c9eeb4a6f66ac4e57764c04db16ea7c71)
Diffstat (limited to 'nixos/modules/system/boot/stage-1.nix')
-rw-r--r--nixos/modules/system/boot/stage-1.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix
index f4cf9753c0a..e7167999a6f 100644
--- a/nixos/modules/system/boot/stage-1.nix
+++ b/nixos/modules/system/boot/stage-1.nix
@@ -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