Fix sysroot of `miri`

wip/nixpkgs-raku
oxalica 3 years ago
parent 2048947f12
commit 80287ab66a
  1. 2
      rust-overlay.nix

@ -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…
Cancel
Save