mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-30 10:26:24 +00:00
Jakub Sokołowski
ca8b721135
Possible fix for errors like: ``` bundler: failed to load command: fastlane (/Users/jenkins/.bundle/ruby/2.7.0/bin/fastlane) /Users/jenkins/.bundle/ruby/2.7.0/gems/fastlane-2.205.2/fastlane_core/lib/fastlane_core/ui/interface.rb:153:in `shell_error!': [!] Shell command exited with exit status 51 instead of 0. (FastlaneCore::Interface::FastlaneShellError) ``` Signed-off-by: Jakub Sokołowski <jakub@status.im>
29 lines
688 B
Nix
29 lines
688 B
Nix
{ callPackage, lib, mkShell, pkgs
|
|
, status-go, fastlane }:
|
|
|
|
let
|
|
inherit (lib) catAttrs unique;
|
|
|
|
nodejs-sh = callPackage ./shells/nodejs.nix { };
|
|
cocoapods-sh = callPackage ./shells/pod.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 bundler 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'
|
|
status-go-sh # before 'pod install'
|
|
];
|
|
};
|
|
}
|