Skip to content

Commit

Permalink
git-spice: fix x86_64-darwin (#349666)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Oct 19, 2024
2 parents 0497b61 + 85a652a commit 0d9a42d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/by-name/gi/git-spice/package.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildGo123Module,
fetchFromGitHub,
git,
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit 0d9a42d

Please sign in to comment.