Skip to content

Commit

Permalink
Use upstream jsonrpc again
Browse files Browse the repository at this point in the history
  • Loading branch information
archseer committed Jun 7, 2021
1 parent 8d6fad4 commit d5de918
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions helix-lsp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ glob = "0.3"
anyhow = "1"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
# jsonrpc-core = { version = "17.1", default-features = false } # don't pull in all of futures
jsonrpc-core = { git = "https://github.com/paritytech/jsonrpc", default-features = false } # don't pull in all of futures
jsonrpc-core = { version = "17.1", default-features = false } # don't pull in all of futures
futures-util = { version = "0.3", features = ["std", "async-await"], default-features = false }
thiserror = "1.0"
log = "~0.4"
6 changes: 4 additions & 2 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, pkgs }:
{ lib, stdenv, pkgs }:

pkgs.mkShell {
nativeBuildInputs = with pkgs; [
Expand All @@ -12,7 +12,9 @@ pkgs.mkShell {
RUSTFLAGS = "-C link-arg=-fuse-ld=lld -C target-cpu=native";
RUST_BACKTRACE = "1";
# https://github.com/rust-lang/rust/issues/55979
LD_LIBRARY_PATH="${stdenv.cc.cc.lib}/lib64:$LD_LIBRARY_PATH";
LD_LIBRARY_PATH = lib.makeLibraryPath (with pkgs; [
stdenv.cc.cc.lib
]);

shellHook = ''
export HELIX_RUNTIME=$PWD/runtime
Expand Down

0 comments on commit d5de918

Please sign in to comment.