diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2018-07-14 18:36:19 +0200 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2018-07-14 18:36:34 +0200 |
commit | f5e8022123785a93b308c55cffb1d144daf38a97 (patch) | |
tree | 0c7ed51a94c4e2b3946c9f0dba3cfa07383a12c4 /dev-lang/rust | |
parent | app-office/libreoffice: Simpler check-reqs (diff) | |
download | gentoo-f5e8022123785a93b308c55cffb1d144daf38a97.tar.gz gentoo-f5e8022123785a93b308c55cffb1d144daf38a97.tar.bz2 gentoo-f5e8022123785a93b308c55cffb1d144daf38a97.zip |
dev-lang/rust: fix problems with symlinking new binaries
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-lang/rust')
-rw-r--r-- | dev-lang/rust/rust-1.27.1-r2.ebuild (renamed from dev-lang/rust/rust-1.27.1-r1.ebuild) | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-lang/rust/rust-1.27.1-r1.ebuild b/dev-lang/rust/rust-1.27.1-r2.ebuild index 2ce91ade5abb..1dc2182f159c 100644 --- a/dev-lang/rust/rust-1.27.1-r1.ebuild +++ b/dev-lang/rust/rust-1.27.1-r2.ebuild @@ -232,6 +232,16 @@ src_install() { /usr/bin/rust-gdb /usr/bin/rust-lldb EOF + if use cargo; then + echo /usr/bin/cargo >> "${T}/provider-${P}" + fi + if use rls; then + echo /usr/bin/rls >> "${T}/provider-${P}" + fi + if use rustfmt; then + echo /usr/bin/rustfmt >> "${T}/provider-${P}" + echo /usr/bin/cargo-fmt >> "${T}/provider-${P}" + fi dodir /etc/env.d/rust insinto /etc/env.d/rust doins "${T}/provider-${P}" |