gcsfuse: add ldflags

This commit is contained in:
Mario Rodas 2020-07-08 04:20:00 -05:00
parent 7d30707bd9
commit e0775fecf2
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ buildGoPackage rec {
ln -s $out/bin/mount_gcsfuse $out/bin/mount.fuse.gcsfuse
'';
buildFlagsArray = [ "-ldflags=-s -w -X main.gcsfuseVersion=${version}" ];
meta = with lib;{
description = "A user-space file system for interacting with Google Cloud Storage";
homepage = "https://cloud.google.com/storage/docs/gcs-fuse";