2022-08-29 16:26:14 +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
|
|
|
|
2022-08-29 16:26:14 +00:00
|
|
|
nodejs-sh = callPackage ./shells/nodejs.nix { };
|
|
|
|
cocoapods-sh = callPackage ./shells/pod.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 {
|
2022-08-29 16:26:14 +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; [
|
2020-05-05 22:48:50 +00:00
|
|
|
xcodeWrapper watchman bundler 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
|
2022-08-29 16:26:14 +00:00
|
|
|
cocoapods-sh
|
|
|
|
nodejs-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
|
|
|
}
|