|
|
@ -23,7 +23,7 @@ let |
|
|
|
releaseTag = "2022-03-07"; |
|
|
|
releaseTag = "2022-03-07"; |
|
|
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub { |
|
|
|
src = fetchFromGitHub { |
|
|
|
owner = "rust-analyzer"; |
|
|
|
owner = "rust-lang"; |
|
|
|
repo = "rust-analyzer"; |
|
|
|
repo = "rust-analyzer"; |
|
|
|
rev = releaseTag; |
|
|
|
rev = releaseTag; |
|
|
|
sha256 = "sha256-/qKh4utesAjlyG8A3hEmSx+HBgh48Uje6ZRtUGz5f0g="; |
|
|
|
sha256 = "sha256-/qKh4utesAjlyG8A3hEmSx+HBgh48Uje6ZRtUGz5f0g="; |
|
|
@ -47,7 +47,7 @@ let |
|
|
|
darwin.apple_sdk.frameworks.Security |
|
|
|
darwin.apple_sdk.frameworks.Security |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
# Follows https://github.com/rust-analyzer/rust-analyzer/blob/41949748a6123fd6061eb984a47f4fe780525e63/xtask/src/dist.rs#L39-L65 |
|
|
|
# Follows https://github.com/rust-lang/rust-analyzer/blob/41949748a6123fd6061eb984a47f4fe780525e63/xtask/src/dist.rs#L39-L65 |
|
|
|
postInstall = '' |
|
|
|
postInstall = '' |
|
|
|
jq ' |
|
|
|
jq ' |
|
|
|
.version = $ENV.version | |
|
|
|
.version = $ENV.version | |
|
|
@ -58,7 +58,7 @@ let |
|
|
|
|
|
|
|
|
|
|
|
mkdir -p $vsix |
|
|
|
mkdir -p $vsix |
|
|
|
# vsce ask for continue due to missing LICENSE.md |
|
|
|
# vsce ask for continue due to missing LICENSE.md |
|
|
|
# Should be removed after https://github.com/rust-analyzer/rust-analyzer/commit/acd5c1f19bf7246107aaae7b6fe3f676a516c6d2 |
|
|
|
# Should be removed after https://github.com/rust-lang/rust-analyzer/commit/acd5c1f19bf7246107aaae7b6fe3f676a516c6d2 |
|
|
|
echo y | npx vsce package -o $vsix/${pname}.zip |
|
|
|
echo y | npx vsce package -o $vsix/${pname}.zip |
|
|
|
''; |
|
|
|
''; |
|
|
|
}; |
|
|
|
}; |
|
|
@ -80,7 +80,7 @@ vscode-utils.buildVscodeExtension { |
|
|
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
meta = with lib; { |
|
|
|
description = "An alternative rust language server to the RLS"; |
|
|
|
description = "An alternative rust language server to the RLS"; |
|
|
|
homepage = "https://github.com/rust-analyzer/rust-analyzer"; |
|
|
|
homepage = "https://github.com/rust-lang/rust-analyzer"; |
|
|
|
license = with licenses; [ mit asl20 ]; |
|
|
|
license = with licenses; [ mit asl20 ]; |
|
|
|
maintainers = with maintainers; [ ]; |
|
|
|
maintainers = with maintainers; [ ]; |
|
|
|
platforms = platforms.all; |
|
|
|
platforms = platforms.all; |
|
|
|