about summary refs log tree commit diff
path: root/pkgs/development/compilers/rust/rustc.nix
diff options
context:
space:
mode:
authorYureka <yuka@yuka.dev>2024-01-04 15:06:30 +0100
committerYureka <yuka@yuka.dev>2024-01-04 15:06:30 +0100
commitd890c560a67574298574d66027b50fe8360ad7f6 (patch)
tree3f4d17fac6af19ad4335e5114dd9109f56a4a86c /pkgs/development/compilers/rust/rustc.nix
parent494bdb470881cb8714b47a0bbb0048157e8fdeda (diff)
rustc: fix musl crt_static substituteInPlace path
Diffstat (limited to 'pkgs/development/compilers/rust/rustc.nix')
-rw-r--r--pkgs/development/compilers/rust/rustc.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/rust/rustc.nix b/pkgs/development/compilers/rust/rustc.nix
index 697770a86088f..3530fc1f511eb 100644
--- a/pkgs/development/compilers/rust/rustc.nix
+++ b/pkgs/development/compilers/rust/rustc.nix
@@ -207,7 +207,7 @@ in stdenv.mkDerivation (finalAttrs: {
     # to do this when rustc's target platform is dynamically linked musl.
     #
     # [1]: https://github.com/rust-lang/compiler-team/issues/422
-    substituteInPlace compiler/rustc_target/src/spec/linux_musl_base.rs \
+    substituteInPlace compiler/rustc_target/src/spec/base/linux_musl.rs \
         --replace "base.crt_static_default = true" "base.crt_static_default = false"
   '' + lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''
     # See https://github.com/jemalloc/jemalloc/issues/1997