diff --git a/pkgs/by-name/gi/git-spice/package.nix b/pkgs/by-name/gi/git-spice/package.nix index f1cc659b3225..f54da3fdf7d4 100644 --- a/pkgs/by-name/gi/git-spice/package.nix +++ b/pkgs/by-name/gi/git-spice/package.nix @@ -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 = {