From 85a652a1810eaddd3bc6671a42b500d756b2a7fa Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 19 Oct 2024 02:06:24 +0200 Subject: [PATCH] git-spice: fix x86_64-darwin --- pkgs/by-name/gi/git-spice/package.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/by-name/gi/git-spice/package.nix b/pkgs/by-name/gi/git-spice/package.nix index f1cc659b32258..f54da3fdf7d47 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 = {