pet: split ldflags into parts

Co-authored-by: figsoda <figsoda@pm.me>
This commit is contained in:
Patrizio Bekerle 2023-04-15 09:10:47 +02:00 committed by GitHub
parent af1dd1387c
commit 2944ade411
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ buildGoModule rec {
vendorSha256 = "sha256-dUvp7FEW09V0xMuhewPGw3TuAic/sD7xyXEYviZ2Ivs=";
ldflags = [
"-s -w -X github.com/knqyf263/pet/cmd.version=${version}"
"-s" "-w" "-X=github.com/knqyf263/pet/cmd.version=${version}"
];
doCheck = false;