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