uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead

https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948
this can do it nicely.

Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "bazel-remote";
version = "2.3.7";
src = fetchFromGitHub {
owner = "buchgr";
repo = pname;
rev = "v${version}";
sha256 = "sha256-5VxPCfartTRYCmjwNrH7SM0o7IQ4+Tq8Q2IM8hFWyVc=";
};
vendorSha256 = "sha256-wXgW7HigMIeUZAcZpm5TH9thfCHmpz+M42toWHgwIYo=";
doCheck = false;
meta = with lib; {
homepage = "https://github.com/buchgr/bazel-remote";
description = "A remote HTTP/1.1 cache for Bazel";
license = licenses.asl20;
maintainers = lib.teams.bazel.members;
platforms = platforms.darwin ++ platforms.linux;
};
}

View file

@ -0,0 +1,24 @@
From 3f5abd591b93ebdbc1ae82e5c29cf26024222f5f Mon Sep 17 00:00:00 2001
From: Uri Baghin <uri@canva.com>
Date: Thu, 30 Jan 2020 16:47:36 +1100
Subject: [PATCH] Disable build file generation for remote apis.
---
WORKSPACE | 1 +
1 file changed, 1 insertion(+)
diff --git a/WORKSPACE b/WORKSPACE
index f9ebafa..52e4e0b 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -208,6 +208,7 @@ http_archive(
go_repository(
name = "com_github_bazelbuild_remote_apis",
+ build_file_generation = "off",
importpath = "github.com/bazelbuild/remote-apis",
sum = "h1:OPH+hf+ICw8WEp2CV2ncfdyWPC30Cmw8b5NKun0n5IQ=",
version = "v0.0.0-20191119143007-b5123b1bb285",
--
2.25.0