mirror of
https://github.com/oxalica/rust-overlay.git
synced 2024-10-04 05:07:13 +03:00
Fix sysroot of miri
This commit is contained in:
parent
2048947f12
commit
80287ab66a
@ -248,7 +248,7 @@ let
|
||||
# If rustc or rustdoc is in the derivation, we need to copy their
|
||||
# executable into the final derivation. This is required
|
||||
# for making them find the correct SYSROOT.
|
||||
for target in $out/bin/{rustc,rustdoc}; do
|
||||
for target in $out/bin/{rustc,rustdoc,miri}; do
|
||||
if [ -e $target ]; then
|
||||
cp --remove-destination "$(realpath -e $target)" $target
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user