diff options
author | Andrew Dunham <andrew@du.nham.ca> | 2018-02-15 00:16:22 -0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2018-02-15 16:16:22 +0800 |
commit | 394a8818e45efb2754a37d698f1864d643d9521a (patch) | |
tree | fda0b8602a92686c47cb5005aad0173c69d09b33 /pkgs/applications/networking/syncthing/add-stcli-target.patch | |
parent | a956c646fbdf46d973afac0034558751e69fdb7b (diff) | |
download | nixlib-394a8818e45efb2754a37d698f1864d643d9521a.tar nixlib-394a8818e45efb2754a37d698f1864d643d9521a.tar.gz nixlib-394a8818e45efb2754a37d698f1864d643d9521a.tar.bz2 nixlib-394a8818e45efb2754a37d698f1864d643d9521a.tar.lz nixlib-394a8818e45efb2754a37d698f1864d643d9521a.tar.xz nixlib-394a8818e45efb2754a37d698f1864d643d9521a.tar.zst nixlib-394a8818e45efb2754a37d698f1864d643d9521a.zip |
syncthing: Add discovery/relay servers, improve build (#34831)
- Fix GOPATH checks - Install manpages - Also build and install discovery and relay servers + cli - Make the build more pure by explicitly setting the build username/host
Diffstat (limited to 'pkgs/applications/networking/syncthing/add-stcli-target.patch')
-rw-r--r-- | pkgs/applications/networking/syncthing/add-stcli-target.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/applications/networking/syncthing/add-stcli-target.patch b/pkgs/applications/networking/syncthing/add-stcli-target.patch new file mode 100644 index 000000000000..58ac15253aed --- /dev/null +++ b/pkgs/applications/networking/syncthing/add-stcli-target.patch @@ -0,0 +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{ + {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 ++ }, + } + + func init() { |