syncthing012: update go tags argument
This commit is contained in:
parent
ad3efa3b54
commit
24f5edaebb
|
@ -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")
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue