summary refs log tree commit diff
path: root/pkgs/stdenv/linux/make-bootstrap-tools.nix
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2022-04-04 20:39:09 +0200
committerVladimír Čunát <v@cunat.cz>2022-04-04 20:40:42 +0200
commit6fd0d1bb4b89366eb34476f4f89f54e21a9752eb (patch)
tree5ca7f8c808014b68bb09c1eb63fc9a86beba8a81 /pkgs/stdenv/linux/make-bootstrap-tools.nix
parente66ed266f84ef795a4a47b938253e25dc5f65b3b (diff)
downloadnixpkgs-6fd0d1bb4b89366eb34476f4f89f54e21a9752eb.tar
nixpkgs-6fd0d1bb4b89366eb34476f4f89f54e21a9752eb.tar.gz
nixpkgs-6fd0d1bb4b89366eb34476f4f89f54e21a9752eb.tar.bz2
nixpkgs-6fd0d1bb4b89366eb34476f4f89f54e21a9752eb.tar.lz
nixpkgs-6fd0d1bb4b89366eb34476f4f89f54e21a9752eb.tar.xz
nixpkgs-6fd0d1bb4b89366eb34476f4f89f54e21a9752eb.tar.zst
nixpkgs-6fd0d1bb4b89366eb34476f4f89f54e21a9752eb.zip
stdenv bootstrap tools: adjust with glibc-2.34 (2nd try)
This time without rebuilding stdenvs.
Diffstat (limited to 'pkgs/stdenv/linux/make-bootstrap-tools.nix')
-rw-r--r--pkgs/stdenv/linux/make-bootstrap-tools.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/stdenv/linux/make-bootstrap-tools.nix b/pkgs/stdenv/linux/make-bootstrap-tools.nix
index 84b63e7b8fd..1d6ebe6284f 100644
--- a/pkgs/stdenv/linux/make-bootstrap-tools.nix
+++ b/pkgs/stdenv/linux/make-bootstrap-tools.nix
@@ -74,6 +74,9 @@ in with pkgs; rec {
         cp -d ${libc.out}/lib/libresolv*.so* $out/lib
         cp -d ${libc.out}/lib/crt?.o $out/lib
 
+        # Hacky compat with our current unpack-bootstrap-tools.sh
+        ln -s librt.so "$out"/lib/librt-dummy.so
+
         cp -rL ${libc.dev}/include $out
         chmod -R u+w "$out"