<commit_before>{pkgs
  , stdenv ? pkgs.stdenv
  , rustUnstable ? support.rustUnstable
  , rustRegistry ? support.rustRegistry
  , buildRustPackage ? support.buildRustPackage
  , upkeepers ? support.upkeepers
  , support, components, contracts,
  }:

  with rustUnstable rustRegistry;

  buildRustPackage rec {
    name = "fvm";
    src = ./.;
    depsSha256 = "13f0fyjc9hphzqxh21qr7lcdjv1s617g3ccgxs5l17bgjg5z887l";

    configurePhase = ''
    substituteInPlace src/lib.rs \
    --replace "path_capnp.rs" "${contracts.path}/src/contract_capnp.rs" \
    --replace "component_lookup.so" "${support.component_lookup}/lib/libcomponent.so" \
    --replace "contract_lookup.so" "${support.contract_lookup}/lib/libcomponent.so" \
    --replace "file_open.so" "${components.file_open}/lib/libcomponent.so" \
    --replace "file_print.so" "${components.file_print}/lib/libcomponent.so" \
    --replace "development_fbp_errors.so" "${components.development_fbp_errors}/lib/libcomponent.so" \
    --replace "development_fbp_fvm.so" "${components.development_fbp_fvm}/lib/libcomponent.so" \
    --replace "development_fbp_parser_lexical.so" "${components.development_fbp_parser_lexical}/lib/libcomponent.so" \
    --replace "development_fbp_parser_semantic.so" "${components.development_fbp_parser_semantic}/lib/libcomponent.so" \
    --replace "development_fbp_parser_print_graph.so" "${components.development_fbp_parser_print_graph}/lib/libcomponent.so" \
    --replace "development_fbp_scheduler.so" "${components.development_fbp_scheduler}/lib/libcomponent.so" \
    '';

    meta = with stdenv.lib; {
      description = "Fractalide Virtual Machine";
      homepage = https://github.com/fractalide/fractalide;
      license = with licenses; [ agpl3Plus ];
      maintainers = with upkeepers; [ dmichiels sjmackenzie ];
    };
  }
<commit_msg>Problem: No bootstrap folder for fvm<commit_after>{pkgs
  , stdenv ? pkgs.stdenv
  , rustUnstable ? support.rustUnstable
  , rustRegistry ? support.rustRegistry
  , buildRustPackage ? support.buildRustPackage
  , upkeepers ? support.upkeepers
  , support, components, contracts,
  }:

  with rustUnstable rustRegistry;

  buildRustPackage rec {
    name = "fvm";
    src = ./.;
    depsSha256 = "13f0fyjc9hphzqxh21qr7lcdjv1s617g3ccgxs5l17bgjg5z887l";

    configurePhase = ''
    mkdir -p $out/bootstrap
    mkdir -p bootstrapt

    cp ${components.file_open}/lib/libcomponent.so $out/bootstrap/${components.file_open.name}.so
    ln -s ${components.file_open}/lib/libcomponent.so bootstrap/${components.file_open.name}.so
    cp ${components.file_print}/lib/libcomponent.so $out/bootstrap/${components.file_print.name}.so
    ln -s ${components.file_print}/lib/libcomponent.so bootstrap/${components.file_print.name}.so
    cp ${components.development_fbp_parser_lexical}/lib/libcomponent.so $out/bootstrap/${components.development_fbp_parser_lexical.name}.so
    ln -s ${components.development_fbp_parser_lexical}/lib/libcomponent.so bootstrap/${components.development_fbp_parser_lexical.name}.so
    cp ${components.development_fbp_parser_semantic}/lib/libcomponent.so $out/bootstrap/${components.development_fbp_parser_semantic.name}.so
    ln -s ${components.development_fbp_parser_semantic}/lib/libcomponent.so bootstrap/${components.development_fbp_parser_semantic.name}.so
    cp ${components.development_fbp_parser_print_graph}/lib/libcomponent.so $out/bootstrap/${components.development_fbp_parser_print_graph.name}.so
    ln -s ${components.development_fbp_parser_print_graph}/lib/libcomponent.so bootstrap/${components.development_fbp_parser_print_graph.name}.so
    cp ${components.development_fbp_fvm}/lib/libcomponent.so $out/bootstrap/${components.development_fbp_fvm.name}.so
    ln -s ${components.development_fbp_fvm}/lib/libcomponent.so bootstrap/${components.development_fbp_fvm.name}.so
    cp ${components.development_fbp_errors}/lib/libcomponent.so $out/bootstrap/${components.development_fbp_errors.name}.so
    ln -s ${components.development_fbp_errors}/lib/libcomponent.so bootstrap/${components.development_fbp_errors.name}.so
    cp ${components.development_fbp_scheduler}/lib/libcomponent.so $out/bootstrap/${components.development_fbp_scheduler.name}.so
    ln -s ${components.development_fbp_scheduler}/lib/libcomponent.so bootstrap/${components.development_fbp_scheduler.name}.so
    cp ${support.component_lookup}/lib/libcomponent.so $out/bootstrap/${support.component_lookup.name}.so
    ln -s ${support.component_lookup}/lib/libcomponent.so bootstrap/${support.component_lookup.name}.so
    cp ${support.contract_lookup}/lib/libcomponent.so $out/bootstrap/${support.contract_lookup.name}.so
    ln -s ${support.contract_lookup}/lib/libcomponent.so bootstrap/${support.contract_lookup.name}.so

    substituteInPlace src/lib.rs \
    --replace "path_capnp.rs" "${contracts.path}/src/contract_capnp.rs"
    '';

    meta = with stdenv.lib; {
      description = "Fractalide Virtual Machine";
      homepage = https://github.com/fractalide/fractalide;
      license = with licenses; [ agpl3Plus ];
      maintainers = with upkeepers; [ <NAME> ];
    };
  }

{'fraction_non_alphanumeric': 0.12719469371829886, 'fraction_numerical': 0.008973858759266484, 'mean_word_length': 4.73489932885906, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, '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': '1505084', 'n_tokens_mistral': 1736, 'n_tokens_neox': 1653, 'n_words': 206}