mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 00:04:11 +00:00
temporal-cli: Disable tests on x86_64-darwin due to Rosetta 2
They succeed for me (with multiple runs) on x86_64-darwin native (no Rosetta 2). Afaik, Hydra performs x86_64-darwin builds on Rosetta 2 on aarch64-darwin. I do not have the hardware to reproduce this (and it could be a build issue), so let’s disable the tests for now and go from there.
This commit is contained in:
parent
de72df3675
commit
01b07afeae
@ -1,4 +1,4 @@
|
||||
{ lib, fetchFromGitHub, buildGoModule, installShellFiles, symlinkJoin }:
|
||||
{ lib, fetchFromGitHub, buildGoModule, installShellFiles, symlinkJoin, stdenv }:
|
||||
|
||||
let
|
||||
metaCommon = with lib; {
|
||||
@ -40,6 +40,9 @@ let
|
||||
"-X github.com/temporalio/cli/headers.Version=${version}"
|
||||
];
|
||||
|
||||
# Tests fail with x86 on macOS Rosetta 2
|
||||
doCheck = !(stdenv.isDarwin && stdenv.hostPlatform.isx86_64);
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user