Skip to content

Commit

Permalink
rustUnstableBin.rustc: Run patchelf on bin/rustdoc (#21746)
Browse files Browse the repository at this point in the history
Cargo seems to run rustdoc and produces an annoying error when
it tries to run.
  • Loading branch information
jaym authored and the-kenny committed Jan 8, 2017
1 parent 826d6aa commit 3dc8b5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/compilers/rust/nightlyBin.nix
Expand Up @@ -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"
''}
'';

Expand Down

0 comments on commit 3dc8b5d

Please sign in to comment.