diff options
author | Yureka <yuka@yuka.dev> | 2024-01-04 15:06:30 +0100 |
---|---|---|
committer | Yureka <yuka@yuka.dev> | 2024-01-04 15:06:30 +0100 |
commit | d890c560a67574298574d66027b50fe8360ad7f6 (patch) | |
tree | 3f4d17fac6af19ad4335e5114dd9109f56a4a86c /pkgs/development/compilers/rust | |
parent | 494bdb470881cb8714b47a0bbb0048157e8fdeda (diff) | |
download | nixlib-d890c560a67574298574d66027b50fe8360ad7f6.tar nixlib-d890c560a67574298574d66027b50fe8360ad7f6.tar.gz nixlib-d890c560a67574298574d66027b50fe8360ad7f6.tar.bz2 nixlib-d890c560a67574298574d66027b50fe8360ad7f6.tar.lz nixlib-d890c560a67574298574d66027b50fe8360ad7f6.tar.xz nixlib-d890c560a67574298574d66027b50fe8360ad7f6.tar.zst nixlib-d890c560a67574298574d66027b50fe8360ad7f6.zip |
rustc: fix musl crt_static substituteInPlace path
Diffstat (limited to 'pkgs/development/compilers/rust')
-rw-r--r-- | pkgs/development/compilers/rust/rustc.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/rust/rustc.nix b/pkgs/development/compilers/rust/rustc.nix index 697770a86088..3530fc1f511e 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 |