tokei: fix build

See #30088.
This commit is contained in:
Gabriel Ebner 2017-11-02 09:30:15 +01:00
parent 6e90af6897
commit d0d9ed6fa0
1 changed files with 3 additions and 4 deletions

View File

@ -13,13 +13,12 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "0y0rkxhkv31v5sa0425dwskd80i6srwbqhqkrw1g1kbmbs9y0vxz"; cargoSha256 = "0y0rkxhkv31v5sa0425dwskd80i6srwbqhqkrw1g1kbmbs9y0vxz";
installPhase = '' buildPhase = ''
mkdir -p $out/bin # do not pass --frozen since Cargo.lock has the wrong tokei version
cp -p target/release/tokei $out/bin/ cargo build --release
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
broken = true;
description = "Count code, quickly"; description = "Count code, quickly";
homepage = https://github.com/Aaronepower/tokei; homepage = https://github.com/Aaronepower/tokei;
license = licenses.mit; license = licenses.mit;