Skip to content

Commit

Permalink
gcsfuse: add ldflags
Browse files Browse the repository at this point in the history
  • Loading branch information
marsam committed Jul 8, 2020
1 parent 7d30707 commit e0775fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/tools/filesystems/gcsfuse/default.nix
Expand Up @@ -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";
Expand Down

0 comments on commit e0775fe

Please sign in to comment.