2020-05-06 13:33:54 +00:00
|
|
|
{ callPackage, lib, mkShell, deps, pkgs
|
|
|
|
, 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
|
|
|
|
2020-04-26 12:40:06 +00:00
|
|
|
pod-shell = callPackage ./pod-shell.nix { };
|
2019-11-29 10:20:08 +00:00
|
|
|
status-go-shell = callPackage ./status-go-shell.nix { inherit status-go; };
|
|
|
|
|
2020-05-05 22:48:50 +00:00
|
|
|
in {
|
|
|
|
inherit pod-shell status-go-shell;
|
|
|
|
|
|
|
|
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
|
|
|
|
2020-05-05 22:48:50 +00:00
|
|
|
inputsFrom = [
|
|
|
|
fastlane.shell
|
|
|
|
status-go-shell
|
|
|
|
pod-shell
|
|
|
|
];
|
2019-12-04 13:14:55 +00:00
|
|
|
|
2020-04-26 12:40:06 +00:00
|
|
|
shellHook = ''
|
2020-07-01 19:45:39 +00:00
|
|
|
# check if node modules changed and if so install them
|
|
|
|
./nix/scripts/node_modules.sh "${deps.nodejs-patched}"
|
2020-04-26 12:40:06 +00:00
|
|
|
'';
|
2019-12-04 13:14:55 +00:00
|
|
|
};
|
2019-11-29 10:20:08 +00:00
|
|
|
|
2019-06-04 16:50:29 +00:00
|
|
|
}
|