3
0
Fork 0
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:
Jay Mundrawala 2017-01-08 01:53:44 -08:00 committed by Moritz U
parent 826d6aa6cd
commit 3dc8b5d904

View file

@ -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"
''}
'';