aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/tools/rust/racer/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/tools/rust/racer/default.nix')
-rw-r--r--nixpkgs/pkgs/development/tools/rust/racer/default.nix15
1 files changed, 7 insertions, 8 deletions
diff --git a/nixpkgs/pkgs/development/tools/rust/racer/default.nix b/nixpkgs/pkgs/development/tools/rust/racer/default.nix
index 0a29577e0cd..86f1989729e 100644
--- a/nixpkgs/pkgs/development/tools/rust/racer/default.nix
+++ b/nixpkgs/pkgs/development/tools/rust/racer/default.nix
@@ -2,22 +2,22 @@
rustPlatform.buildRustPackage rec {
pname = "racer";
- version = "2.1.30";
+ version = "2.1.35";
src = fetchFromGitHub {
owner = "racer-rust";
repo = "racer";
- rev = "c2b0080243fefdad7f7b223e8a7fdef3e1f0fa77";
- sha256 = "0svvdkfqpk2rw0wxyrhkxy553k55lg7jxc0ly4w1195iwv14ad3y";
+ rev = "v${version}";
+ sha256 = "0c00b81s7abnadjbf4i39lhdkipx7z44sr8p78jd1fl61yyrspli";
};
- cargoSha256 = "0zaqa89z3nf23s2q1jpmfz4lygh4zq9ymql71d748fgjy9psr449";
+ cargoSha256 = "1nbp2jp65fqwsq9i04iyi4pbszs035w6id50p5ypw234cqxznikm";
- buildInputs = [ makeWrapper ]
- ++ stdenv.lib.optional stdenv.isDarwin Security;
+ nativeBuildInputs = [ makeWrapper ];
+ buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
# a nightly compiler is required unless we use this cheat code.
- RUSTC_BOOTSTRAP=1;
+ RUSTC_BOOTSTRAP = 1;
RUST_SRC_PATH = rustPlatform.rustcSrc;
postInstall = ''
@@ -45,6 +45,5 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/racer-rust/racer";
license = licenses.mit;
maintainers = with maintainers; [ jagajaga ma27 ];
- platforms = platforms.all;
};
}