assh: buildFlagsArray -> ldflags
This commit is contained in:
parent
d6b39de429
commit
0a1ab79b9d
@ -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 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user