git-spice: fix x86_64-darwin (#349666)

This commit is contained in:
Aleksana 2024-10-19 16:10:31 +08:00 committed by GitHub
commit 0d9a42df70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,6 @@
{
lib,
stdenv,
buildGo123Module,
fetchFromGitHub,
git,
@ -31,6 +32,14 @@ buildGo123Module rec {
"-X=main._version=${version}"
];
__darwinAllowLocalNetworking = true;
preCheck = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) ''
# timeout
rm testdata/script/branch_submit_remote_prompt.txt
rm testdata/script/branch_submit_multiple_pr_templates.txt
'';
passthru.updateScript = nix-update-script { };
meta = {