nixpkgs/pkgs/applications/networking/syncthing/add-stcli-target.patch

18 lines
489 B
Diff
Raw Normal View History

2019-12-06 15:14:15 +00:00
diff --git a/build.go b/build.go
index c8a5c1cf..d75a8491 100644
--- a/build.go
+++ b/build.go
@@ -202,6 +202,12 @@ var targets = map[string]target{
{src: "AUTHORS", dst: "deb/usr/share/doc/syncthing-relaypoolsrv/AUTHORS.txt", perm: 0644},
},
},
+ "stcli": {
+ name: "stcli",
+ description: "Syncthing CLI",
2019-12-06 15:14:15 +00:00
+ buildPkgs: []string{"github.com/syncthing/syncthing/cmd/stcli"},
+ binaryName: "stcli",
+ },
}
2019-12-06 15:14:15 +00:00
// These are repos we need to clone to run "go generate"