Skip to content

Commit

Permalink
tokei: fix build
Browse files Browse the repository at this point in the history
See #30088.
  • Loading branch information
gebner committed Nov 2, 2017
1 parent 6e90af6 commit d0d9ed6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkgs/development/tools/misc/tokei/default.nix
Expand Up @@ -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;
Expand Down

0 comments on commit d0d9ed6

Please sign in to comment.