Commit 999bfbb Tom McLaughlin
committed
1 parent 6064eb8 commit 999bfbb Copy full SHA for 999bfbb
File tree 1 file changed +18
-6
lines changed
modules/kernels/rust/language_server_rust_analyzer
1 file changed +18
-6
lines changed Original file line number Diff line number Diff line change 1
1
{ fetchzip
2
2
, stdenv
3
- , haskell
3
+ , system
4
4
} :
5
5
6
6
# Build from source method. Blows up the closure!
@@ -23,13 +23,25 @@ stdenv.mkDerivation {
23
23
pname = "rust-notebook-language-server" ;
24
24
version = "0.2.2.0" ;
25
25
26
- src = fetchzip {
27
- url = "https://github.com/codedownio/rust-notebook-language-server/releases/download/v0.2.2.0/rust-notebook-language-server-0.2.2.0-x86_64-linux.tar.gz" ;
28
- sha256 = "sha256-W1gM48Rc4xhNcpdKmTQH0qZR3Y+r/AKEjXdI8oq+ZjA=" ;
29
- } ;
26
+ src = {
27
+ # HASHES_START
28
+ "x86_64-linux" = fetchzip {
29
+ 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 = "" ;
31
+ } ;
32
+ "x86_64-darwin" = fetchzip {
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-darwin.tar.gz" ;
34
+ sha256 = "" ;
35
+ } ;
36
+ "aarch64-darwin" = fetchzip {
37
+ 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 = "" ;
39
+ } ;
40
+ # HASHES_END
41
+ } . ${ system } ;
30
42
31
43
installPhase = ''
32
44
mkdir -p $out/bin
33
- cp rust-notebook-language-server-0.2.2.0-x86_64-linux $out/bin/rust-notebook-language-server
45
+ cp rust-notebook-language-server-0.2.2.0-${ system } $out/bin/rust-notebook-language-server
34
46
'' ;
35
47
}
You can’t perform that action at this time.
0 commit comments