make sourcing nix quiet
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
750cc93fe9
commit
cfcfa01a64
|
@ -17,8 +17,11 @@ def getToolVersion(name) {
|
|||
|
||||
def nix_sh(cmd) {
|
||||
sh """
|
||||
. ~/.nix-profile/etc/profile.d/nix.sh && \\
|
||||
nix-shell \'${env.WORKSPACE}/default.nix\' --argstr target-os \'${env.TARGET_PLATFORM}\' \\
|
||||
set +x
|
||||
. ~/.nix-profile/etc/profile.d/nix.sh
|
||||
set -x
|
||||
nix-shell \'${env.WORKSPACE}/default.nix\' \\
|
||||
--argstr target-os \'${env.TARGET_PLATFORM}\' \\
|
||||
--run \'${cmd}\'
|
||||
"""
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue