From 8b3c7f29b27827cea9537eceb30ff5978111ba61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Fri, 6 Mar 2020 11:43:52 +0100 Subject: [PATCH] fix bundle install by disabling Nix sandbox MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ci/common.groovy | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ci/common.groovy b/ci/common.groovy index 717be12565..b89009cd6c 100644 --- a/ci/common.groovy +++ b/ci/common.groovy @@ -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) {