summaryrefslogtreecommitdiff
path: root/pkgs/development/compilers/rust/rustc.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/rust/rustc.nix')
-rw-r--r--pkgs/development/compilers/rust/rustc.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/compilers/rust/rustc.nix b/pkgs/development/compilers/rust/rustc.nix
index 41a7d5a920eb..a89fe299d701 100644
--- a/pkgs/development/compilers/rust/rustc.nix
+++ b/pkgs/development/compilers/rust/rustc.nix
@@ -88,9 +88,9 @@ in stdenv.mkDerivation rec {
"${setTarget}.cxx=${cxxForTarget}"
] ++ optionals (!withBundledLLVM) [
"--enable-llvm-link-shared"
- "${setBuild}.llvm-config=${llvmSharedForBuild}/bin/llvm-config"
- "${setHost}.llvm-config=${llvmSharedForHost}/bin/llvm-config"
- "${setTarget}.llvm-config=${llvmSharedForTarget}/bin/llvm-config"
+ "${setBuild}.llvm-config=${llvmSharedForBuild.dev}/bin/llvm-config"
+ "${setHost}.llvm-config=${llvmSharedForHost.dev}/bin/llvm-config"
+ "${setTarget}.llvm-config=${llvmSharedForTarget.dev}/bin/llvm-config"
] ++ optionals (stdenv.isLinux && !stdenv.targetPlatform.isRedox) [
"--enable-profiler" # build libprofiler_builtins
] ++ optionals stdenv.buildPlatform.isMusl [