nix: fix nix-cache builds on MacOS

symlink from /opt/nix requires this setting

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-11-26 14:21:10 +01:00
parent 684630e022
commit fe7f6c87ab
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@ pipeline {
agent { label params.AGENT_LABEL }
environment {
/* See nix/README.md */
NIX_IGNORE_SYMLINK_STORE = 1
/* we source .bash_profile to be able to use nix-store */
NIX_SSHOPTS = "-o StrictHostKeyChecking=no source .bash_profile;"
/* where our /nix/store is hosted */