about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/networking/syncthing/add-stcli-target.patch
blob: 07b5e334b2c979279d9acf675ed30c1db2037b88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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",
+		buildPkgs:   []string{"github.com/syncthing/syncthing/cmd/stcli"},
+		binaryName:  "stcli",
+	},
 }
 
 // These are repos we need to clone to run "go generate"