From 72e71af45972b60ff89b2dd48d06e3f7b48da7bf Mon Sep 17 00:00:00 2001 From: Leon Schuermann Date: Tue, 19 Nov 2024 10:27:55 -0500 Subject: [PATCH] rustup: add missing rust-darwin-setup script for ld-wrapper --- pkgs/development/tools/rust/rustup/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/tools/rust/rustup/default.nix b/pkgs/development/tools/rust/rustup/default.nix index 5824696a43ac..4225b2a4d29e 100644 --- a/pkgs/development/tools/rust/rustup/default.nix +++ b/pkgs/development/tools/rust/rustup/default.nix @@ -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'