Commit 85a652a1 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

git-spice: fix x86_64-darwin

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