<commit_before>args : with args;
rec {
  name = "kqemu-"+version;
  src = fetchurl {
    url = http://bellard.org/qemu/kqemu-1.3.0pre11.tar.gz;
    sha256 = "03svg2x52ziglf9r9irf6ziiz8iwa731fk1mdskwdip5jxbyy6jl";
  };

  buildInputs = [];
  configureFlags = [''--PREFIx=$out'' ''--kernel-path=$(ls -d ${kernel}/lib/modules/*/build)''];
  debugStep = FullDepEntry (''
  	cat config-host.mak
  '') ["minInit"];
  preConfigure = FullDepEntry ('' 
    sed -e 's/`uname -r`/'"$(basename ${kernel}/lib/modules/*)"'/' -i install.sh
    sed -e '/kernel_path=/akernel_path=$out$kernel_path' -i install.sh
    sed -e '/depmod/d' -i install.sh
    cat install.sh
  '') ["minInit" "doUnpack"];

  phaseNames = ["preConfigure" "doConfigure" "debugStep" "doMakeInstall"];

  meta = {<commit_msg>kqemu seems to need it on most kernels<commit_after>args : with args;
rec {
  name = "kqemu-"+version;
  src = fetchurl {
    url = http://bellard.org/qemu/kqemu-1.3.0pre11.tar.gz;
    sha256 = "03svg2x52ziglf9r9irf6ziiz8iwa731fk1mdskwdip5jxbyy6jl";
  };

  buildInputs = [];
  configureFlags = [''--PREFIx=$out'' ''--kernel-path=$(ls -d ${kernel}/lib/modules/*/build)''];
  debugStep = FullDepEntry (''
  	cat config-host.mak
  '') ["minInit"];
  preConfigure = FullDepEntry ('' 
    sed -e 's/`uname -r`/'"$(basename ${kernel}/lib/modules/*)"'/' -i install.sh
    sed -e '/kernel_path=/akernel_path=$out$kernel_path' -i install.sh
    sed -e '/depmod/d' -i install.sh
    cat install.sh
    sed -e '/linux\/ioctl.h/a#include <linux\/sched.h>' -i kqemu-linux.c
  '') ["minInit" "doUnpack"];

  phaseNames = ["preConfigure" "doConfigure" "debugStep" "doMakeInstall"];

  meta = {
{'fraction_non_alphanumeric': 0.19698795180722892, 'fraction_numerical': 0.027710843373493974, 'mean_word_length': 3.5382513661202184, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '174', 'n_tokens_mistral': 689, 'n_tokens_neox': 669, 'n_words': 117}