assh: buildFlagsArray -> ldflags

This commit is contained in:
zowoq 2021-08-21 18:23:50 +10:00
parent d6b39de429
commit 0a1ab79b9d

View File

@ -20,9 +20,9 @@ buildGoModule rec {
doCheck = false;
preBuild = ''
buildFlagsArray+=("-ldflags" "-s -w -X moul.io/assh/v2/pkg/version.Version=${version}")
'';
ldflags = [
"-s" "-w" "-X moul.io/assh/v2/pkg/version.Version=${version}"
];
nativeBuildInputs = [ makeWrapper ];