tokei: fix build

See #30088.
This commit is contained in:
Gabriel Ebner 2017-11-02 09:30:15 +01:00
parent 6e90af6897
commit d0d9ed6fa0

View File

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