rustup: add missing rust-darwin-setup script for ld-wrapper

This commit is contained in:
Leon Schuermann 2024-11-19 10:27:55 -05:00
parent 4a2fe43808
commit 72e71af459

View File

@ -105,6 +105,7 @@ rustPlatform.buildRustPackage rec {
# add a wrapper script for ld.lld
mkdir -p $out/nix-support
substituteAll ${../../../../../pkgs/build-support/wrapper-common/utils.bash} $out/nix-support/utils.bash
substituteAll ${../../../../../pkgs/build-support/wrapper-common/darwin-sdk-setup.bash} $out/nix-support/darwin-sdk-setup.bash
substituteAll ${../../../../../pkgs/build-support/bintools-wrapper/add-flags.sh} $out/nix-support/add-flags.sh
substituteAll ${../../../../../pkgs/build-support/bintools-wrapper/add-hardening.sh} $out/nix-support/add-hardening.sh
export prog='$PROG'