<commit_before>{stdenv, fetchurl, kernel}:

stdenv.mkDerivation {
  name = "aufs-20080128";
  
  src = fetchurl {
    url = http://nix.cs.uu.nl/dist/tarballs/aufs-20080128.tar.bz2;
    sha256 = "0732zp6wfss09x9d6n0a3v65rifn739m9nffi5d3952vglg4va6l";
  };

  buildPhase = ''
    mkdir kernelsrc
    tar xvf ${kernel.src} -C kernelsrc
  
    kernelVersion=$(cd ${kernel}/lib/modules && ls)
    substituteInPlace fs/aufs/Makefile --replace srctree srctree2
    make KDIR=${kernel}/lib/modules/$kernelVersion/build srctree2=$(pwd)/kernelsrc/* -f local.mk
  '';

  installPhase = ''
    ensureDir $out/bin
    cp util/aulchown $out/bin

    ensureDir $out/share/man/man5
    cp util/aufs.5 $out/share/man/man5

    ensureDir $out/lib/modules/$kernelVersion/misc
    cp aufs.ko $out/lib/modules/$kernelVersion/misc
  '';

  meta = {
    description = "Another Unionfs implementation for Linux";
    homepage = http://aufs.sourceforge.net/;
  };
}<commit_msg>* Fix AEFS on x86_64.<commit_after>{stdenv, fetchurl, kernel}:

stdenv.mkDerivation {
  name = "aufs-20080128";
  
  src = fetchurl {
    url = http://nix.cs.uu.nl/dist/tarballs/aufs-20080128.tar.bz2;
    sha256 = "0732zp6wfss09x9d6n0a3v65rifn739m9nffi5d3952vglg4va6l";
  };

  buildPhase = ''

    kernelVersion=$(cd ${kernel}/lib/modules && ls)
    kernelBuild=$(echo ${kernel}/lib/modules/$kernelVersion/source)
    tar xvfj ${kernel.src}
    kernelSource=$(echo $(pwd)/linux-*)
    cp -prd $kernelBuild/* $kernelSource
  
    substituteInPlace fs/aufs/Makefile
    make KDIR=$kernelSource -f local.mk
  '';

  installPhase = ''
    ensureDir $out/bin
    cp util/aulchown $out/bin

    ensureDir $out/share/man/man5
    cp util/aufs.5 $out/share/man/man5

    ensureDir $out/lib/modules/$kernelVersion/misc
    cp aufs.ko $out/lib/modules/$kernelVersion/misc
  '';

  meta = {
    description = "Another Unionfs implementation for Linux";
    homepage = http://aufs.sourceforge.net/;
  };
}
{'fraction_non_alphanumeric': 0.14182939362795477, 'fraction_numerical': 0.051387461459403906, 'mean_word_length': 3.2697368421052633, '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': '658690', 'n_tokens_mistral': 810, 'n_tokens_neox': 734, 'n_words': 120}