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:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
17
pkgs/development/tools/bingo/version_go.patch
Normal file
17
pkgs/development/tools/bingo/version_go.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
diff --git a/main.go b/main.go
|
||||
index 5600f7e..662ed1b 100644
|
||||
--- a/main.go
|
||||
+++ b/main.go
|
||||
@@ -201,10 +201,8 @@ func main() {
|
||||
return pkgs.PrintTab(target, os.Stdout)
|
||||
}
|
||||
case "version":
|
||||
- cmdFunc = func(ctx context.Context, r *runner.Runner) error {
|
||||
- _, err := fmt.Fprintln(os.Stdout, version.Version)
|
||||
- return err
|
||||
- }
|
||||
+ _, _ = fmt.Fprintln(os.Stdout, version.Version)
|
||||
+ return
|
||||
default:
|
||||
exitOnUsageError(flags.Usage, "No such command", flags.Arg(0))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue