diff options
Diffstat (limited to 'pkgs/applications/networking/syncthing/add-stcli-target.patch')
-rw-r--r-- | pkgs/applications/networking/syncthing/add-stcli-target.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/applications/networking/syncthing/add-stcli-target.patch b/pkgs/applications/networking/syncthing/add-stcli-target.patch index 58ac15253ae..07b5e334b2c 100644 --- a/pkgs/applications/networking/syncthing/add-stcli-target.patch +++ b/pkgs/applications/networking/syncthing/add-stcli-target.patch @@ -1,17 +1,17 @@ -diff --git i/build.go w/build.go -index 7d400d6f..1b5e1d25 100644 ---- i/build.go -+++ w/build.go -@@ -175,6 +175,12 @@ var targets = map[string]target{ +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", -+ buildPkg: "github.com/syncthing/syncthing/cmd/stcli", -+ binaryName: "stcli", // .exe will be added automatically for Windows builds ++ buildPkgs: []string{"github.com/syncthing/syncthing/cmd/stcli"}, ++ binaryName: "stcli", + }, } - func init() { + // These are repos we need to clone to run "go generate" |