Skip to content

Commit

Permalink
Revert "rustracer: 2.0.9 -> 2.0.12"
Browse files Browse the repository at this point in the history
This reverts commit c32abb5.

racer got broken by this update
  • Loading branch information
Mic92 committed Nov 15, 2017
1 parent c9b8bbd commit a165a38
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkgs/development/tools/rust/racer/default.nix
Expand Up @@ -2,16 +2,16 @@

rustPlatform.buildRustPackage rec {
name = "racer-${version}";
version = "2.0.12";
version = "2.0.9";

src = fetchFromGitHub {
owner = "racer-rust";
repo = "racer";
rev = version;
sha256 = "0y1xlpjr8y8gsmmrjlykx4vwzf8akk42g35kg3kc419ry4fli945";
sha256 = "06k50f2vj2w08afh3nrlhs0amcvw2i45bhfwr70sgs395xicjswp";
};

cargoSha256 = "1h3jv4hajdv6k309kjr6b6298kxmd0faw081i3788sl794k9mp0j";
cargoSha256 = "1w5imxyqlyv24dvzncq6dy01zn2x8p1aciyvzh8ac1x1wdjcacjc";

buildInputs = [ makeWrapper ];

Expand All @@ -21,7 +21,9 @@ rustPlatform.buildRustPackage rec {

doCheck = true;

postInstall = ''
installPhase = ''
mkdir -p $out/bin
cp -p target/release/racer $out/bin/
wrapProgram $out/bin/racer --set RUST_SRC_PATH "${rustPlatform.rustcSrc}"
'';

Expand Down

0 comments on commit a165a38

Please sign in to comment.