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) {
|
def nix_sh(cmd) {
|
||||||
sh """
|
sh """
|
||||||
. ~/.nix-profile/etc/profile.d/nix.sh && \\
|
set +x
|
||||||
nix-shell \'${env.WORKSPACE}/default.nix\' --argstr target-os \'${env.TARGET_PLATFORM}\' \\
|
. ~/.nix-profile/etc/profile.d/nix.sh
|
||||||
|
set -x
|
||||||
|
nix-shell \'${env.WORKSPACE}/default.nix\' \\
|
||||||
|
--argstr target-os \'${env.TARGET_PLATFORM}\' \\
|
||||||
--run \'${cmd}\'
|
--run \'${cmd}\'
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue