<commit_before>{ lib, pkgs, deps, callPackage, mkShell
, status-go, androidPkgs, androidShell }:

let
  # For generating a temporary keystore for local development
  keystore = callPackage ./keystore.nix { };

  # Import a jsbundle compiled out of clojure codebase
  jsbundle = callPackage ./jsbundle { };

  # Import a patched version of watchman (important for sandboxed builds on macOS)
  watchmanFactory = callPackage ./watchman.nix { };

  # TARGETS
  release = callPackage ./release.nix {
    inherit keystore jsbundle status-go watchmanFactory;
  };

in {
  # TARGETS
  inherit keystore release jsbundle;

  shell = mkShell {
    buildInputs = with pkgs; [
      openjdk
      gradle
      lsof  # used in start-react-native.sh
      flock # used in nix/scripts/node_modules.sh
    ];

    inputsFrom = [
      release
      androidShell
    ];

    shellHook = ''
      export ANDROID_SDK_ROOT="${androidPkgs.sdk}"
      export ANDROID_NDK_ROOT="${androidPkgs.ndk}"

      export STATUS_NIX_MAVEN_REPO="${deps.gradle}"

      # required by some makefile targets
      export STATUS_GO_ANDROID_LIBDIR=${status-go}

      # check if node modules changed and if so install them
      $STATUS_REACT_HOME/nix/scripts/node_modules.sh ${deps.nodejs-patched}
    '';
  };
}<commit_msg>nix: fix call to status-go derivation<commit_after>{ lib, pkgs, deps, callPackage, mkShell
, status-go, androidPkgs, androidShell }:

let
  # For generating a temporary keystore for local development
  keystore = callPackage ./keystore.nix { };

  # Import a jsbundle compiled out of clojure codebase
  jsbundle = callPackage ./jsbundle { };

  # Import a patched version of watchman (important for sandboxed builds on macOS)
  watchmanFactory = callPackage ./watchman.nix { };

  # TARGETS
  release = callPackage ./release.nix {
    inherit keystore jsbundle status-go watchmanFactory;
  };

in {
  # TARGETS
  inherit keystore release jsbundle;

  shell = mkShell {
    buildInputs = with pkgs; [
      openjdk
      gradle
      lsof  # used in start-react-native.sh
      flock # used in nix/scripts/node_modules.sh
    ];

    inputsFrom = [
      release
      androidShell
    ];

    shellHook = ''
      export ANDROID_SDK_ROOT="${androidPkgs.sdk}"
      export ANDROID_NDK_ROOT="${androidPkgs.ndk}"

      export STATUS_NIX_MAVEN_REPO="${deps.gradle}"

      # required by some makefile targets
      export STATUS_GO_ANDROID_LIBDIR=${status-go {}}

      # check if node modules changed and if so install them
      $STATUS_REACT_HOME/nix/scripts/node_modules.sh ${deps.nodejs-patched}
    '';
  };
}
{'fraction_non_alphanumeric': 0.09241432422025414, 'fraction_numerical': 0.0, 'mean_word_length': 3.072100313479624, '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': '7564330', 'n_tokens_mistral': 870, 'n_tokens_neox': 820, 'n_words': 217}