Unverified Commit 0d9a42df authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

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

parents 0497b61f 85a652a1
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{
  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 = {