syncthing012: update go tags argument

This commit is contained in:
Orivej Desh 2017-09-10 07:03:08 +00:00
parent ad3efa3b54
commit 24f5edaebb

View File

@ -5,8 +5,6 @@ buildGoPackage rec {
version = "0.12.15";
rev = "v${version}";
buildFlags = "--tags noupgrade,release";
goPackagePath = "github.com/syncthing/syncthing";
src = fetchFromGitHub {
@ -22,4 +20,8 @@ buildGoPackage rec {
# Mostly a cosmetic change
sed -i 's,unknown-dev,${version},g' cmd/syncthing/main.go
'';
preBuild = ''
export buildFlagsArray+=("-tags" "noupgrade release")
'';
}