<commit_before>{stdenv, fetchurl, dietgcc, perl}:

stdenv.mkDerivation {
  name = "coreutils-5.2.1";
  src = fetchurl {
    url = http://nix.cs.uu.nl/dist/tarballs/coreutils-5.2.1.tar.bz2;
    md5 = "172ee3c315af93d3385ddfbeb843c53f";
  };
  patches = [./coreutils-dummy.patch];
  buildInputs = [perl];
  NIX_GCC = dietgcc;
  NIX_GLIBC_FLAGS_SET=1;
  NIX_CFLAGS_COMPILE="-D_BSD_SOURCE=1";
}<commit_msg>add place where I ripped the original patch (partially) from<commit_after>{stdenv, fetchurl, dietgcc, perl}:

stdenv.mkDerivation {
  name = "coreutils-5.2.1";
  src = fetchurl {
    url = http://nix.cs.uu.nl/dist/tarballs/coreutils-5.2.1.tar.bz2;
    md5 = "172ee3c315af93d3385ddfbeb843c53f";
  };
  # patch from
  # http://invaders.mars-attacks.org/~boklm/browse/doc/srs2005/alink/files/patch-coreutils-5.2.1-alink0.1.diff
  patches = [./coreutils-dummy.patch];
  buildInputs = [perl];
  NIX_GCC = dietgcc;
  NIX_GLIBC_FLAGS_SET=1;
  NIX_CFLAGS_COMPILE="-D_BSD_SOURCE=1";
}
{'fraction_non_alphanumeric': 0.1586489252814739, 'fraction_numerical': 0.06653019447287616, 'mean_word_length': 4.041237113402062, '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': '6260003', 'n_tokens_mistral': 473, 'n_tokens_neox': 434, 'n_words': 54}