mirror of
https://github.com/status-im/status-react.git
synced 2025-01-16 05:56:15 +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>
10 lines
252 B
Nix
10 lines
252 B
Nix
{ mkShell, deps }:
|
|
|
|
mkShell {
|
|
# check if node modules changed and if so install them
|
|
shellHook = ''
|
|
export STATUS_MOBILE_HOME=$(git rev-parse --show-toplevel)
|
|
"$STATUS_MOBILE_HOME/nix/scripts/node_modules.sh" ${deps.nodejs-patched}
|
|
'';
|
|
}
|