<commit_before>args: with args;
     let inherit (bleedingEdgeRepos)  sourceByName;
     in
# map ghcCabalExecutableFun and add cabal dependency to all 
lib.mapAttrs ( name_dummy : a : ghcCabalExecutableFun (a // { libsFun = x : (a.libsFun x) ++ [x.cabal_darcs]; } ) )
{
  happy = {
    name = "happy-1.17";
    libsFun = x : [x.base x.directory x.haskell98 x.mtl];
    src = fetchurl {
      url =  "http://hackage.haskell.org/packages/archive/happy/1.17/happy-1.17.tar.gz";
      sha256 = "0aqaqy27fkkilj3wk03krx2gdgrw5hynn8wnahrkimg52xyy996w";
    };
    meta = {
      executables = ["happy"];
      description = "A lexical analyser generator for Haskell";
      homepage = http://www.haskell.org/happy/;
      license = "BSD3";
    };
    pass = {
      patchPhase = '' sed -e "s/buildVerbose flags/fromFlag (buildVerbose flags)/g" -e "s/BuildFlags(..)/BuildFlags(..), fromFlag/g" -i Setup.lhs '';
    };
  };
  alex = {
    name = "alex-2.2";
    libsFun = x : [x.base x.haskell98];
    src = fetchurl {
      url =  "http://hackage.haskell.org/packages/archive/alex/2.2/alex-2.2.tar.gz";
      sha256 = "1zhzlhwljbd52hwd8dm7fcbinfzjhal5x91rvi8x7cgxdkyd8n79";
    };
    meta = {
      executables = ["alex"];
      description = "tool generating lexical analysers";
      homepage = http://www.haskell.org/alex/;
      license = "BSD3";
    };
    pass = {
      patchPhase = '' sed -e "s/buildVerbose flags/fromFlag (buildVerbose flags)/g" -e "s/BuildFlags(..)/BuildFlags(..), fromFlag/g" -i Setup.lhs '';
    };
  };
  xmonad = {
    name = "xmonad-darcs";
    libsFun = x : [x.base x.mtl x.unix x.x11 x.x11extras xmessage  ];
    src = sourceByName "xmonad";
  };
  darcs_unstable = {
    name = "darcs_unstable";
    libsFun = x : [x.base x.haskell98 x.http_darcs x.regex_compat x.quickcheck x.bytestring x.parsec x.html x.containers];
    src = sourceByName "pg_darcsone";
    pass = {
      buildInputs = [  autoconf zlib ];
      postUnpack = "cd nix_*; pwd; autoconf; cd ..";
        NIX_LDFLAGS = "-lz";
    };
  };
}<commit_msg>* Commented out some stuff that breaks the Nixpkgs release (missing   files: pg_darcsone.nix and xmonad.nix).<commit_after>args: with args;
     let inherit (bleedingEdgeRepos)  sourceByName;
     in
# map ghcCabalExecutableFun and add cabal dependency to all 
lib.mapAttrs ( name_dummy : a : ghcCabalExecutableFun (a // { libsFun = x : (a.libsFun x) ++ [x.cabal_darcs]; } ) )
{
  happy = {
    name = "happy-1.17";
    libsFun = x : [x.base x.directory x.haskell98 x.mtl];
    src = fetchurl {
      url =  "http://hackage.haskell.org/packages/archive/happy/1.17/happy-1.17.tar.gz";
      sha256 = "0aqaqy27fkkilj3wk03krx2gdgrw5hynn8wnahrkimg52xyy996w";
    };
    meta = {
      executables = ["happy"];
      description = "A lexical analyser generator for Haskell";
      homepage = http://www.haskell.org/happy/;
      license = "BSD3";
    };
    pass = {
      patchPhase = '' sed -e "s/buildVerbose flags/fromFlag (buildVerbose flags)/g" -e "s/BuildFlags(..)/BuildFlags(..), fromFlag/g" -i Setup.lhs '';
    };
  };
  alex = {
    name = "alex-2.2";
    libsFun = x : [x.base x.haskell98];
    src = fetchurl {
      url =  "http://hackage.haskell.org/packages/archive/alex/2.2/alex-2.2.tar.gz";
      sha256 = "1zhzlhwljbd52hwd8dm7fcbinfzjhal5x91rvi8x7cgxdkyd8n79";
    };
    meta = {
      executables = ["alex"];
      description = "tool generating lexical analysers";
      homepage = http://www.haskell.org/alex/;
      license = "BSD3";
    };
    pass = {
      patchPhase = '' sed -e "s/buildVerbose flags/fromFlag (buildVerbose flags)/g" -e "s/BuildFlags(..)/BuildFlags(..), fromFlag/g" -i Setup.lhs '';
    };
  };
  /*
  xmonad = {
    name = "xmonad-darcs";
    libsFun = x : [x.base x.mtl x.unix x.x11 x.x11extras xmessage  ];
    src = sourceByName "xmonad";
  };
  darcs_unstable = {
    name = "darcs_unstable";
    libsFun = x : [x.base x.haskell98 x.http_darcs x.regex_compat x.quickcheck x.bytestring x.parsec x.html x.containers];
    src = sourceByName "pg_darcsone";
    pass = {
      buildInputs = [  autoconf zlib ];
      postUnpack = "cd nix_*; pwd; autoconf; cd ..";
        NIX_LDFLAGS = "-lz";
    };
  };
  */
}
{'fraction_non_alphanumeric': 0.1545974273463554, 'fraction_numerical': 0.028585040495474036, 'mean_word_length': 2.6135972461273664, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '657278', 'n_tokens_mistral': 1743, 'n_tokens_neox': 1654, 'n_words': 312}