<commit_before>. $stdenv/setup

preConfigure() {
    cat mail/config/mozconfig > .mozconfig
    cat >> .mozconfig <<EOF
ac_add_options --disable-debug
ac_add_options --enable-optimize=-O2
ac_add_options --disable-ldap
ac_add_options --enable-xft
ac_add_options --enable-swg
ac_add_options --enable-strip
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-single-profile
ac_add_options --prefix=$out
EOF
}

preConfigure=preConfigure

makeFlags="-f client.mk build"

genericBuild<commit_msg>* Disable freetype2 because Thunderbird (like Firefox) doesn't like   Freetype >= 2.1.8.<commit_after>. $stdenv/setup

preConfigure() {
    cat mail/config/mozconfig > .mozconfig
    cat >> .mozconfig <<EOF
ac_add_options --disable-debug
ac_add_options --enable-optimize=-O2
ac_add_options --disable-ldap
ac_add_options --enable-xft
ac_add_options --disable-freetype2
ac_add_options --enable-swg
ac_add_options --enable-strip
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-single-profile
ac_add_options --prefix=$out
EOF
}

preConfigure=preConfigure

makeFlags="-f client.mk build"

genericBuild
{'fraction_non_alphanumeric': 0.11387900355871886, 'fraction_numerical': 0.00800711743772242, 'mean_word_length': 4.859375, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 10, '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': '5830874', 'n_tokens_mistral': 398, 'n_tokens_neox': 391, 'n_words': 77}