dockle: buildFlagsArray -> ldflags
This commit is contained in:
parent
380ddb56e5
commit
69c7777320
1 changed files with 3 additions and 3 deletions
|
@ -16,9 +16,9 @@ buildGoModule rec {
|
|||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ btrfs-progs lvm2 ];
|
||||
|
||||
preBuild = ''
|
||||
buildFlagsArray+=("-ldflags" "-s -w -X main.version=${version}")
|
||||
'';
|
||||
ldflags = [
|
||||
"-s" "-w" "-X main.version=${version}"
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# Remove tests that use networking
|
||||
|
|
Loading…
Reference in a new issue