<commit_before>source $stdenv/setup

preConfigure=preConfigure
preConfigure() {
    libc=$(cat ${NIX_GCC}/nix-support/orig-libc)
    echo "libc: $libc"

    for i in src/s/*.h src/m/*.h; do
        substituteInPlace $i \
            --replace /usr/lib/crt1.o $libc/lib/crt1.o \
            --replace /usr/lib/crti.o $libc/lib/crti.o \
            --replace /usr/lib/crtn.o $libc/lib/crtn.o
    done

    for i in Makefile.in ./src/Makefile.in ./lib-src/Makefile.in ./leim/Makefile.in; do
        substituteInPlace $i --replace /bin/pwd pwd<commit_msg>emacs: Link successfully on 64 bit.<commit_after>source $stdenv/setup

preConfigure=preConfigure
preConfigure() {
    libc=$(cat ${NIX_GCC}/nix-support/orig-libc)
    echo "libc: $libc"

    case "${system}" in
	x86_64-*)	glibclibdir=lib64 ;;
	*)		glibclibdir=lib ;;
    esac

    for i in src/s/*.h src/m/*.h; do
        substituteInPlace $i \
            --replace /usr/${glibclibdir}/crt1.o $libc/${glibclibdir}/crt1.o \
            --replace /usr/${glibclibdir}/crti.o $libc/${glibclibdir}/crti.o \
            --replace /usr/${glibclibdir}/crtn.o $libc/${glibclibdir}/crtn.o
    done

    for i in Makefile.in ./src/Makefile.in ./lib-src/Makefile.in ./leim/Makefile.in; do
        substituteInPlace $i --replace /bin/pwd pwd
{'fraction_non_alphanumeric': 0.1640625, 'fraction_numerical': 0.009375, 'mean_word_length': 2.3359375, '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': '2641744', 'n_tokens_mistral': 530, 'n_tokens_neox': 509, 'n_words': 91}