about summary refs log tree commit diff
path: root/pkgs/applications/networking/syncthing012
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2017-09-10 07:03:08 +0000
committerOrivej Desh <orivej@gmx.fr>2017-09-28 10:28:19 +0000
commit24f5edaebbcc98644d9bf8699343568ffd60aadc (patch)
tree9025d8827333b90c90cbaed04749a4e36f4c9a45 /pkgs/applications/networking/syncthing012
parentad3efa3b54d59f0cefbd0345c38af70417ea0b5e (diff)
downloadnixlib-24f5edaebbcc98644d9bf8699343568ffd60aadc.tar
nixlib-24f5edaebbcc98644d9bf8699343568ffd60aadc.tar.gz
nixlib-24f5edaebbcc98644d9bf8699343568ffd60aadc.tar.bz2
nixlib-24f5edaebbcc98644d9bf8699343568ffd60aadc.tar.lz
nixlib-24f5edaebbcc98644d9bf8699343568ffd60aadc.tar.xz
nixlib-24f5edaebbcc98644d9bf8699343568ffd60aadc.tar.zst
nixlib-24f5edaebbcc98644d9bf8699343568ffd60aadc.zip
syncthing012: update go tags argument
Diffstat (limited to 'pkgs/applications/networking/syncthing012')
-rw-r--r--pkgs/applications/networking/syncthing012/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/networking/syncthing012/default.nix b/pkgs/applications/networking/syncthing012/default.nix
index 5735dd68bcd2..4b5359555f4a 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")
+  '';
 }