forked from mirrors/nixpkgs
rustUnstableBin.rustc: Run patchelf on bin/rustdoc (#21746)
Cargo seems to run rustdoc and produces an annoying error when it tries to run.
This commit is contained in:
parent
826d6aa6cd
commit
3dc8b5d904
|
@ -49,6 +49,9 @@ rec {
|
|||
patchelf \
|
||||
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
|
||||
"$out/bin/rustc"
|
||||
patchelf \
|
||||
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
|
||||
"$out/bin/rustdoc"
|
||||
''}
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue