about summary refs log tree commit diff
path: root/pkgs/development/compilers/rust
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-10-20 00:05:50 +0000
committerGitHub <noreply@github.com>2022-10-20 00:05:50 +0000
commitd86d8a1a3d4e271db90a90c3955852fb49a56677 (patch)
tree5b39f1d597c2ebd28524ddc6844e5692e7876072 /pkgs/development/compilers/rust
parentae33e7cf40bacdaf201f45e7101a0ae1fb46f856 (diff)
parentaac580f88f705cd65d47672a8bc1fac3482f9837 (diff)
downloadnixlib-d86d8a1a3d4e271db90a90c3955852fb49a56677.tar
nixlib-d86d8a1a3d4e271db90a90c3955852fb49a56677.tar.gz
nixlib-d86d8a1a3d4e271db90a90c3955852fb49a56677.tar.bz2
nixlib-d86d8a1a3d4e271db90a90c3955852fb49a56677.tar.lz
nixlib-d86d8a1a3d4e271db90a90c3955852fb49a56677.tar.xz
nixlib-d86d8a1a3d4e271db90a90c3955852fb49a56677.tar.zst
nixlib-d86d8a1a3d4e271db90a90c3955852fb49a56677.zip
Merge staging-next into staging
Diffstat (limited to 'pkgs/development/compilers/rust')
-rw-r--r--pkgs/development/compilers/rust/binary.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/compilers/rust/binary.nix b/pkgs/development/compilers/rust/binary.nix
index 6c3751cbb575..1de90cdddacf 100644
--- a/pkgs/development/compilers/rust/binary.nix
+++ b/pkgs/development/compilers/rust/binary.nix
@@ -52,6 +52,12 @@ rec {
       # https://github.com/rust-lang/rust/issues/34722#issuecomment-232164943
     '';
 
+    # The strip tool in cctools 973.0.1 and up appears to break rlibs in the
+    # binaries. The lib.rmeta object inside the ar archive should contain an
+    # .rmeta section, but it is removed. Luckily, this doesn't appear to be an
+    # issue for Rust builds produced by Nix.
+    dontStrip = stdenv.isDarwin;
+
     setupHooks = ./setup-hook.sh;
   };