mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
Merge pull request #246449 from amarshall/temporal-cli-test-fix-rosetta
temporal-cli: Disable tests on x86_64-darwin due to Rosetta 2
This commit is contained in:
commit
62d3a9b769
@ -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