From 24f5edaebbcc98644d9bf8699343568ffd60aadc Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Sun, 10 Sep 2017 07:03:08 +0000 Subject: [PATCH] syncthing012: update go tags argument --- pkgs/applications/networking/syncthing012/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/syncthing012/default.nix b/pkgs/applications/networking/syncthing012/default.nix index 5735dd68bcd..4b5359555f4 100644 --- a/pkgs/applications/networking/syncthing012/default.nix +++ b/pkgs/applications/networking/syncthing012/default.nix @@ -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") + ''; }