mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-15 03:05:17 +00:00
Jakub Sokołowski
6a23f64550
Was removed in: https://github.com/status-im/status-jenkins-lib/pull/48 But only causes issues when version of Ruby Gems change. Signed-off-by: Jakub Sokołowski <jakub@status.im>
32 lines
831 B
Nix
32 lines
831 B
Nix
{ callPackage, lib, mkShell, pkgs
|
|
, status-go, fastlane }:
|
|
|
|
let
|
|
inherit (lib) catAttrs unique;
|
|
|
|
# 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; };
|
|
|
|
in {
|
|
inherit nodejs-sh cocoapods-sh status-go-sh;
|
|
|
|
shell = mkShell {
|
|
buildInputs = with pkgs; [
|
|
xcodeWrapper watchman procps
|
|
flock # used in nix/scripts/node_modules.sh
|
|
];
|
|
|
|
# WARNING: Executes shellHook in reverse order.
|
|
inputsFrom = [
|
|
fastlane.shell
|
|
cocoapods-sh
|
|
nodejs-sh # before 'pod install'
|
|
bundler-sh # before 'pod install'
|
|
status-go-sh # before 'pod install'
|
|
];
|
|
};
|
|
}
|