diff options
author | Emmanuel Rosa <emmanuelrosa@protonmail.com> | 2019-12-06 22:14:15 +0700 |
---|---|---|
committer | Lassulus <github@lassul.us> | 2019-12-07 19:02:39 +0100 |
commit | 671fc82ece03a575a343110bc4b9b10bce150018 (patch) | |
tree | 0adc03776e1601521fbe89be4d4c70281d82489d /pkgs/applications/networking/syncthing/add-stcli-target.patch | |
parent | 1d41c6eca74724c7ab02ef2a4b4f5ebf1b048ed5 (diff) | |
download | nixlib-671fc82ece03a575a343110bc4b9b10bce150018.tar nixlib-671fc82ece03a575a343110bc4b9b10bce150018.tar.gz nixlib-671fc82ece03a575a343110bc4b9b10bce150018.tar.bz2 nixlib-671fc82ece03a575a343110bc4b9b10bce150018.tar.lz nixlib-671fc82ece03a575a343110bc4b9b10bce150018.tar.xz nixlib-671fc82ece03a575a343110bc4b9b10bce150018.tar.zst nixlib-671fc82ece03a575a343110bc4b9b10bce150018.zip |
syncthing: 1.3.0 -> 1.3.2
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 58ac15253aed..07b5e334b2c9 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" |