<commit_before>{ lib, haskellLib, fetchFromGitHub, hackGet, fetchpatch }:

with lib;
with haskellLib;

self: super: {
  text = self.callCabal2nix "text" (fetchFromGitHub {
    owner = "obsidiansystems";
    repo = "text";
    rev = "78f714da9bd3510e348b6341855be925b8ede949";
    sha256 = "003lggllk1hjzjx8wfl941j2bn13sgpxz9bqgvsn6bhlrhwnwcsl";
  }) {};
  mkDerivation = attrs: (super.mkDerivation attrs // {
    configureFlags = (drv.configureFlags or []) ++ [
      "--ghcjs-option=-fno-full-laziness"
      "--ghcjs-option=-fno-enable-rewrite-rules"
    ];
  });
  jsaddle = overrideCabal super.jsaddle (drv: {
    buildDepends = (drv.buildDepends or []) ++ [
      self.ghcjs-base
      self.ghcjs-prim<commit_msg>Fixup from last commit<commit_after>{ lib, haskellLib, fetchFromGitHub, hackGet, fetchpatch }:

with lib;
with haskellLib;

self: super: {
  text = self.callCabal2nix "text" (fetchFromGitHub {
    owner = "obsidiansystems";
    repo = "text";
    rev = "78f714da9bd3510e348b6341855be925b8ede949";
    sha256 = "003lggllk1hjzjx8wfl941j2bn13sgpxz9bqgvsn6bhlrhwnwcsl";
  }) {};
  mkDerivation = attrs: super.mkDerivation (attrs // {
    configureFlags = (attrs.configureFlags or []) ++ [
      "--ghcjs-option=-fno-full-laziness"
      "--ghcjs-option=-fno-enable-rewrite-rules"
    ];
  });
  jsaddle = overrideCabal super.jsaddle (drv: {
    buildDepends = (drv.buildDepends or []) ++ [
      self.ghcjs-base
      self.ghcjs-prim
{'fraction_non_alphanumeric': 0.138217000691085, 'fraction_numerical': 0.0608154803040774, 'mean_word_length': 3.641025641025641, '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': '1549226', 'n_tokens_mistral': 627, 'n_tokens_neox': 577, 'n_words': 86}