Skip to content

Commit

Permalink
rust-nightly: add optdepend for rust-analyzer-nightly
Browse files Browse the repository at this point in the history
123
  • Loading branch information
Y7n05h committed Nov 11, 2022
1 parent deec042 commit 31420ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions archlinuxcn/rust-nightly/PKGBUILD.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ package_rust-analyzer-nightly() {
provides=('rust-analyzer')
conflicts=('rustup' 'rust-analyzer')
depends=("rust-nightly=$epoch:$pkgver")
optdepends=('rust-src')

cd rust-nightly-$CARCH-unknown-linux-gnu/rust-analyzer-preview
_copy_files rust-analyzer
Expand Down

0 comments on commit 31420ee

Please sign in to comment.