Commit 8855a92 1 parent 999bfbb commit 8855a92 Copy full SHA for 8855a92
File tree 2 files changed +13
-9
lines changed
modules/kernels/rust/language_server_rust_analyzer
2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 18
18
# myers-diff = ghc.callPackage ./myers-diff.nix {};
19
19
# }
20
20
21
+ let
22
+ version = import ./rnls-version.nix ;
23
+ in
24
+
21
25
# Fetch a static binary, only ~5MB
22
26
stdenv . mkDerivation {
23
27
pname = "rust-notebook-language-server" ;
24
- version = "0.2.2.0" ;
28
+ inherit version ;
25
29
26
30
src = {
27
31
# HASHES_START
28
32
"x86_64-linux" = fetchzip {
29
33
url = "https://github.com/codedownio/rust-notebook-language-server/releases/download/v0.2.3.0/rust-notebook-language-server-0.2.3.0-x86_64-linux.tar.gz" ;
30
- sha256 = "" ;
34
+ hash = "sha256-IaNP7VEmuYc6B3axhHN8/hfJPKKUtq1klgrjlZZqEVU= " ;
31
35
} ;
32
36
"x86_64-darwin" = fetchzip {
33
37
url = "https://github.com/codedownio/rust-notebook-language-server/releases/download/v0.2.3.0/rust-notebook-language-server-0.2.3.0-x86_64-darwin.tar.gz" ;
34
- sha256 = "" ;
38
+ hash = "sha256-fNIzPC5vaYtizFxBYCvyCGlDWozi5oAARBio3bGztBk= " ;
35
39
} ;
36
40
"aarch64-darwin" = fetchzip {
37
41
url = "https://github.com/codedownio/rust-notebook-language-server/releases/download/v0.2.3.0/rust-notebook-language-server-0.2.3.0-aarch64-darwin.tar.gz" ;
38
- sha256 = "" ;
42
+ hash = "sha256-KJrH2lmc7nFCTC4zxAJa9ntZW2kobZDUfcI4/yLYbqY= " ;
39
43
} ;
40
44
# HASHES_END
41
45
} . ${ system } ;
42
46
43
47
installPhase = ''
44
48
mkdir -p $out/bin
45
- cp rust-notebook-language-server-0.2.2.0 -${ system } $out/bin/rust-notebook-language-server
49
+ cp rust-notebook-language-server-${ version } -${ system } $out/bin/rust-notebook-language-server
46
50
'' ;
47
51
}
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ NEW_HASHES=$(
12
12
13
13
echo >&2 " $URL -> $HASH "
14
14
15
- echo " \" $system \" = fetchzip {"
16
- echo " url = \" $URL \" ;"
17
- echo " hash = \" $HASH \" ;"
18
- echo " }) ;"
15
+ echo " \" $system \" = fetchzip {"
16
+ echo " url = \" $URL \" ;"
17
+ echo " hash = \" $HASH \" ;"
18
+ echo " } ;"
19
19
done
20
20
)
21
21
You can’t perform that action at this time.
0 commit comments