git-spice: fix x86_64-darwin

This commit is contained in:
Peder Bergebakken Sundt
2024-10-19 02:06:24 +02:00
parent fb0baa4a01
commit 85a652a181

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 = {