Gentoo Archives: gentoo-commits

From: Theo Anderson <telans@××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-util/rust-analyzer-bin/
Date: Wed, 09 Jun 2021 03:39:12
Message-Id: 1623205264.6a15398937b5264ce71302a9355ff0ecfe2a03e9.telans@gentoo
1 commit: 6a15398937b5264ce71302a9355ff0ecfe2a03e9
2 Author: James Kalyan <contrib_x <AT> protonmail <DOT> com>
3 AuthorDate: Wed Jun 9 02:21:04 2021 +0000
4 Commit: Theo Anderson <telans <AT> posteo <DOT> de>
5 CommitDate: Wed Jun 9 02:21:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6a153989
7
8 dev-util/rust-analyzer-bin: moved elog to postinst
9
10 Signed-off-by: James Kalyan <contrib_x <AT> protonmail.com>
11
12 dev-util/rust-analyzer-bin/rust-analyzer-bin-9999.ebuild | 3 +++
13 1 file changed, 3 insertions(+)
14
15 diff --git a/dev-util/rust-analyzer-bin/rust-analyzer-bin-9999.ebuild b/dev-util/rust-analyzer-bin/rust-analyzer-bin-9999.ebuild
16 index 23d87932d..4d6020746 100644
17 --- a/dev-util/rust-analyzer-bin/rust-analyzer-bin-9999.ebuild
18 +++ b/dev-util/rust-analyzer-bin/rust-analyzer-bin-9999.ebuild
19 @@ -15,5 +15,8 @@ S=${WORKDIR}
20
21 src_install() {
22 newbin rust-analyzer-linux rust-analyzer
23 +}
24 +
25 +pkg_postinst() {
26 elog "Make sure to add your desired rust toolchain (e.g. with rustup) for rust-analyzer to work correctly"
27 }