3
0
Fork 0
forked from mirrors/nixpkgs

zrepl: add strip flags

This commit is contained in:
Shawn8901 2022-06-26 13:40:51 +02:00
parent 6c5f014da7
commit c1d137b282

View file

@ -24,7 +24,7 @@ buildGoModule rec {
makeWrapper
];
ldflags = [ "-X github.com/zrepl/zrepl/version.zreplVersion=${version}" ];
ldflags = [ "-s" "-w" "-X github.com/zrepl/zrepl/version.zreplVersion=${version}" ];
postInstall = ''
mkdir -p $out/lib/systemd/system