mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-14 18:54:52 +00:00
Jakub Sokołowski
8a1704a064
This was missed in 604362958b5aa8d8ffdda0a0d8356d6b4b0d513f Signed-off-by: Jakub Sokołowski <jakub@status.im>
39 lines
824 B
Nix
39 lines
824 B
Nix
{ callPackage, lib, mkShell, deps, pkgs
|
|
, status-go, fastlane }:
|
|
|
|
let
|
|
inherit (lib) catAttrs unique;
|
|
|
|
pod-shell = callPackage ./pod-shell.nix { };
|
|
status-go-shell = callPackage ./status-go-shell.nix { inherit status-go; };
|
|
|
|
in {
|
|
inherit pod-shell status-go-shell;
|
|
|
|
shell = mkShell {
|
|
buildInputs = with pkgs; [
|
|
xcodeWrapper watchman bundler procps
|
|
flock # used in nix/scripts/node_modules.sh
|
|
];
|
|
|
|
inputsFrom = [
|
|
fastlane.shell
|
|
status-go-shell
|
|
pod-shell
|
|
];
|
|
|
|
shellHook = ''
|
|
{
|
|
cd "$STATUS_REACT_HOME"
|
|
|
|
# Set up symlinks to mobile enviroment in project root
|
|
ln -sf ./mobile/js_files/* ./
|
|
|
|
# check if node modules changed and if so install them
|
|
./nix/scripts/node_modules.sh "${deps.nodejs-patched}"
|
|
}
|
|
'';
|
|
};
|
|
|
|
}
|