fix bundle install by disabling Nix sandbox

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-03-06 11:43:52 +01:00
parent 9b1150df29
commit 8b3c7f29b2
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 8 additions and 2 deletions

View File

@ -54,7 +54,9 @@ def prep(type = 'nightly') {
/* install ruby dependencies */
nix.shell(
'bundle install --gemfile=fastlane/Gemfile --quiet',
attr: 'shells.fastlane')
attr: 'shells.fastlane',
sandbox: false
)
}
if (['macos', 'linux', 'windows'].contains(env.TARGET)) {
@ -62,7 +64,11 @@ def prep(type = 'nightly') {
nix.shell('scripts/prepare-for-desktop-platform.sh', pure: false)
}
/* run script in the nix shell so that node_modules gets instantiated before attempting the copies */
nix.shell('scripts/copy-translations.sh chmod', attr: "shells.${env.TARGET}")
nix.shell(
'scripts/copy-translations.sh chmod',
attr: "shells.${env.TARGET}",
sandbox: false
)
}
def uploadArtifact(path) {