2022-05-26 09:11:34 +00:00
|
|
|
{ pkgs, deps, callPackage, mkShell
|
2023-05-16 16:42:56 +00:00
|
|
|
, jsbundle, status-go, androidPkgs, androidShell }:
|
2019-06-04 16:50:29 +00:00
|
|
|
|
2023-05-16 16:42:56 +00:00
|
|
|
rec {
|
|
|
|
release = callPackage ./release.nix {
|
|
|
|
inherit jsbundle status-go;
|
|
|
|
};
|
2020-05-05 22:48:50 +00:00
|
|
|
|
|
|
|
shell = mkShell {
|
|
|
|
buildInputs = with pkgs; [
|
2020-05-06 13:33:54 +00:00
|
|
|
openjdk
|
|
|
|
gradle
|
2020-05-05 22:48:50 +00:00
|
|
|
lsof # used in start-react-native.sh
|
2020-05-07 10:21:39 +00:00
|
|
|
flock # used in nix/scripts/node_modules.sh
|
2020-05-05 22:48:50 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
inputsFrom = [
|
2023-08-17 11:51:37 +00:00
|
|
|
(release {})
|
2020-05-05 22:48:50 +00:00
|
|
|
androidShell
|
|
|
|
];
|
|
|
|
|
|
|
|
shellHook = ''
|
2020-07-01 19:45:39 +00:00
|
|
|
# check if node modules changed and if so install them
|
2022-07-17 12:37:46 +00:00
|
|
|
$STATUS_MOBILE_HOME/nix/scripts/node_modules.sh ${deps.nodejs-patched}
|
2020-05-05 22:48:50 +00:00
|
|
|
'';
|
|
|
|
};
|
2019-06-04 16:50:29 +00:00
|
|
|
}
|