2023-02-23 14:55:01 +00:00
|
|
|
{ callPackage, lib, mkShell, pkgs
|
2020-05-06 13:33:54 +00:00
|
|
|
, status-go, fastlane }:
|
2019-06-04 16:50:29 +00:00
|
|
|
|
|
|
|
let
|
2019-11-29 10:20:08 +00:00
|
|
|
inherit (lib) catAttrs unique;
|
2019-06-04 16:50:29 +00:00
|
|
|
|
2023-02-23 14:55:01 +00:00
|
|
|
# Sub-shells preparing various dependencies.
|
|
|
|
nodejs-sh = callPackage ./shells/nodejs.nix { };
|
|
|
|
bundler-sh = callPackage ./shells/bundler.nix { };
|
|
|
|
cocoapods-sh = callPackage ./shells/cocoapods.nix { };
|
|
|
|
status-go-sh = callPackage ./shells/status-go.nix { inherit status-go; };
|
2019-11-29 10:20:08 +00:00
|
|
|
|
2020-05-05 22:48:50 +00:00
|
|
|
in {
|
2023-02-23 14:55:01 +00:00
|
|
|
inherit nodejs-sh cocoapods-sh status-go-sh;
|
2020-05-05 22:48:50 +00:00
|
|
|
|
|
|
|
shell = mkShell {
|
2020-05-06 13:33:54 +00:00
|
|
|
buildInputs = with pkgs; [
|
2023-02-23 14:55:01 +00:00
|
|
|
xcodeWrapper watchman procps
|
2020-05-07 10:21:39 +00:00
|
|
|
flock # used in nix/scripts/node_modules.sh
|
2020-05-05 22:48:50 +00:00
|
|
|
];
|
2019-06-04 16:50:29 +00:00
|
|
|
|
2021-04-09 07:48:53 +00:00
|
|
|
# WARNING: Executes shellHook in reverse order.
|
2020-05-05 22:48:50 +00:00
|
|
|
inputsFrom = [
|
|
|
|
fastlane.shell
|
2023-02-23 14:55:01 +00:00
|
|
|
cocoapods-sh
|
|
|
|
nodejs-sh # before 'pod install'
|
|
|
|
bundler-sh # before 'pod install'
|
|
|
|
status-go-sh # before 'pod install'
|
2020-05-05 22:48:50 +00:00
|
|
|
];
|
2019-12-04 13:14:55 +00:00
|
|
|
};
|
2019-06-04 16:50:29 +00:00
|
|
|
}
|