Update pkgs/build-support/rust/build-rust-crate/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Bouke van der Bijl 2023-09-23 10:19:03 +02:00 committed by GitHub
parent 4270524d3f
commit 352ff3f226
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -354,7 +354,7 @@ crate_: lib.makeOverridable
};
dontStrip = !release;
# We need to preserve metadata in .rlib, which might get stripped on macOS. See #218712
# We need to preserve metadata in .rlib, which might get stripped on macOS. See https://github.com/NixOS/nixpkgs/issues/218712
stripExclude = [ "*.rlib" ];
installPhase = installCrate crateName metadata buildTests;