mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
rust: Fixed build
This commit is contained in:
parent
6eed023894
commit
49dd0867a7
@ -64,7 +64,7 @@ stdenv.mkDerivation {
|
||||
preBuild = if stdenv.isLinux then ''
|
||||
make ${target}/stage0/bin/rustc
|
||||
patchelf --interpreter ${stdenv.glibc}/lib/${stdenv.gcc.dynamicLinker} \
|
||||
--set-rpath ${stdenv.gcc.gcc}/lib/ \
|
||||
--set-rpath ${stdenv.gcc.gcc}/lib/:${stdenv.gcc.gcc}/lib64/ \
|
||||
${target}/stage0/bin/rustc
|
||||
'' else null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user