diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-08-21 18:23:47 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-08-21 18:23:47 +1000 |
commit | e69c632fce9f6c5c10e1fcb4f1545b6fad9b31a6 (patch) | |
tree | dcf271ecbefcfdbf18137dabe6bf678c0bec1bbe /pkgs/applications/networking/cluster/starboard/default.nix | |
parent | 6042373b60168a57dca4a5435df2087e73bbbf58 (diff) | |
download | nixpkgs-e69c632fce9f6c5c10e1fcb4f1545b6fad9b31a6.tar nixpkgs-e69c632fce9f6c5c10e1fcb4f1545b6fad9b31a6.tar.gz nixpkgs-e69c632fce9f6c5c10e1fcb4f1545b6fad9b31a6.tar.bz2 nixpkgs-e69c632fce9f6c5c10e1fcb4f1545b6fad9b31a6.tar.lz nixpkgs-e69c632fce9f6c5c10e1fcb4f1545b6fad9b31a6.tar.xz nixpkgs-e69c632fce9f6c5c10e1fcb4f1545b6fad9b31a6.tar.zst nixpkgs-e69c632fce9f6c5c10e1fcb4f1545b6fad9b31a6.zip |
starboard: buildFlagsArray -> ldflags
Diffstat (limited to 'pkgs/applications/networking/cluster/starboard/default.nix')
-rw-r--r-- | pkgs/applications/networking/cluster/starboard/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/networking/cluster/starboard/default.nix b/pkgs/applications/networking/cluster/starboard/default.nix index d92518c0b4c..066b70e8e25 100644 --- a/pkgs/applications/networking/cluster/starboard/default.nix +++ b/pkgs/applications/networking/cluster/starboard/default.nix @@ -16,9 +16,9 @@ buildGoModule rec { # Don't build and check the integration tests excludedPackages = "itest"; - preBuild = '' - buildFlagsArray+=("-ldflags" "-s -w -X main.version=v${version}") - ''; + ldflags = [ + "-s" "-w" "-X main.version=v${version}" + ]; preCheck = '' # Remove test that requires networking |