<commit_before>{ config, lib, ... }:

with lib;

{
  config = {
    programs.texlive.enable = true;

    nmt.script = ''
      assertFileExists home-path/bin/tex
    '';
  };
}<commit_msg>texlive: remove upstream dependency in tests<commit_after>{ config, lib, pkgs, ... }:

with lib;

{
  config = {
    programs.texlive.enable = true;

    # Set up a minimal mocked texlive package set.
    nixpkgs.overlays = [
      (self: super: {
        texlive = {
          collection-basic = pkgs.writeTextDir "collection-basic" "";
          combine = tpkgs:
            pkgs.symlinkJoin {
              name = "dummy-texlive-combine";
              paths = attrValues tpkgs;
            };
        };
      })
    ];

    nmt.script = ''
      assertFileExists home-path/collection-basic
    '';
  };
}
{'fraction_non_alphanumeric': 0.1329987452948557, 'fraction_numerical': 0.0, 'mean_word_length': 1.8808664259927799, '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': '6882947', 'n_tokens_mistral': 262, 'n_tokens_neox': 257, 'n_words': 51}