syncthing012: update go tags argument
This commit is contained in:
parent
ad3efa3b54
commit
24f5edaebb
@ -5,8 +5,6 @@ buildGoPackage rec {
|
|||||||
version = "0.12.15";
|
version = "0.12.15";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
|
|
||||||
buildFlags = "--tags noupgrade,release";
|
|
||||||
|
|
||||||
goPackagePath = "github.com/syncthing/syncthing";
|
goPackagePath = "github.com/syncthing/syncthing";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -22,4 +20,8 @@ buildGoPackage rec {
|
|||||||
# Mostly a cosmetic change
|
# Mostly a cosmetic change
|
||||||
sed -i 's,unknown-dev,${version},g' cmd/syncthing/main.go
|
sed -i 's,unknown-dev,${version},g' cmd/syncthing/main.go
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
export buildFlagsArray+=("-tags" "noupgrade release")
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user