mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-11 17:24:27 +00:00
Jakub Sokołowski
b27a53bdee
Fixes the `'Statusgo.h' file not found` error. Resolves: https://github.com/status-im/status-react/issues/11951 Signed-off-by: Jakub Sokołowski <jakub@status.im>
33 lines
754 B
Nix
33 lines
754 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
|
|
];
|
|
|
|
# WARNING: Executes shellHook in reverse order.
|
|
inputsFrom = [
|
|
fastlane.shell
|
|
pod-shell
|
|
status-go-shell # Needs to run before pod-install
|
|
];
|
|
|
|
shellHook = ''
|
|
# check if node modules changed and if so install them
|
|
./nix/scripts/node_modules.sh "${deps.nodejs-patched}"
|
|
'';
|
|
};
|
|
|
|
}
|