<commit_before>{ stdenv, lib, bundlerEnv, makeWrapper, docker, git, gnutar, gzip }:

stdenv.mkDerivation rec {
  name = "cide-${version}";
  version = "0.9.0";

  env = bundlerEnv {
    name = "${name}-gems";

    gemfile = ./Gemfile;
    lockfile = ./Gemfile.lock;
    gemset = ./gemset.nix;
  };

  phases = ["installPhase"];

  buildInputs = [ makeWrapper ];

  installPhase = ''
    mkdir -p $out/bin
    makeWrapper ${env}/bin/cide $out/bin/cide \
      --set PATH ${stdenv.lib.makeBinPath [ docker git gnutar gzip ]}
  '';

  meta = with lib; {
    description = "Isolated test runner with Docker";
    homepage    = http://zimbatm.github.io/cide/;
    license     = licenses.mit;
    maintainers = with maintainers; [ zimbatm ];
    platforms   = docker.meta.platforms;
  };
}<commit_msg>cide: use gemdir<commit_after>{ stdenv, lib, bundlerEnv, makeWrapper, docker, git, gnutar, gzip }:

stdenv.mkDerivation rec {
  name = "cide-${version}";
  version = "0.9.0";

  env = bundlerEnv {
    name = "${name}-gems";

    gemdir = ./.;
  };

  phases = ["installPhase"];

  buildInputs = [ makeWrapper ];

  installPhase = ''
    mkdir -p $out/bin
    makeWrapper ${env}/bin/cide $out/bin/cide \
      --set PATH ${stdenv.lib.makeBinPath [ docker git gnutar gzip ]}
  '';

  meta = with lib; {
    description = "Isolated test runner with Docker";
    homepage    = http://zimbatm.github.io/cide/;
    license     = licenses.mit;
    maintainers = with maintainers; [ zimbatm ];
    platforms   = docker.meta.platforms;
  };
}
{'fraction_non_alphanumeric': 0.15575916230366493, 'fraction_numerical': 0.003926701570680628, 'mean_word_length': 2.747549019607843, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3749383', 'n_tokens_mistral': 574, 'n_tokens_neox': 548, 'n_words': 121}