diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2017-01-08 01:53:44 -0800 |
---|---|---|
committer | Moritz U <moritz@tarn-vedra.de> | 2017-01-08 10:53:44 +0100 |
commit | 3dc8b5d904803853946e5c6637ab703edf764c89 (patch) | |
tree | 395ae4be73a4f5c6c56e68a5ceec5177341ef584 /pkgs/development/compilers/rust | |
parent | 826d6aa6cd555775f384774d0de4a4b2a759b8b9 (diff) | |
download | nixpkgs-3dc8b5d904803853946e5c6637ab703edf764c89.tar nixpkgs-3dc8b5d904803853946e5c6637ab703edf764c89.tar.gz nixpkgs-3dc8b5d904803853946e5c6637ab703edf764c89.tar.bz2 nixpkgs-3dc8b5d904803853946e5c6637ab703edf764c89.tar.lz nixpkgs-3dc8b5d904803853946e5c6637ab703edf764c89.tar.xz nixpkgs-3dc8b5d904803853946e5c6637ab703edf764c89.tar.zst nixpkgs-3dc8b5d904803853946e5c6637ab703edf764c89.zip |
rustUnstableBin.rustc: Run patchelf on bin/rustdoc (#21746)
Cargo seems to run rustdoc and produces an annoying error when it tries to run.
Diffstat (limited to 'pkgs/development/compilers/rust')
-rw-r--r-- | pkgs/development/compilers/rust/nightlyBin.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/compilers/rust/nightlyBin.nix b/pkgs/development/compilers/rust/nightlyBin.nix index 6f7cca9aff2..bac35c790d0 100644 --- a/pkgs/development/compilers/rust/nightlyBin.nix +++ b/pkgs/development/compilers/rust/nightlyBin.nix @@ -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" ''} ''; |